Skip to content

Commit

Permalink
Update matrix.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rotu authored Sep 22, 2023
1 parent 62f6575 commit 5363a1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/matrix.js
Original file line number Diff line number Diff line change
Expand Up @@ -802,8 +802,8 @@ export class AbstractMatrix {
return diag;
}

norm(type) {
switch (type ?? 'frobenius') {
norm(type = 'frobenius') {
switch (type) {
case 'max':
return this.max();
case 'frobenius':
Expand Down

0 comments on commit 5363a1a

Please sign in to comment.