Skip to content

Commit

Permalink
Update example/linalg/example_norm.f90
Browse files Browse the repository at this point in the history
Co-authored-by: jalvesz <[email protected]>
  • Loading branch information
perazz and jalvesz committed Sep 23, 2024
1 parent 91882fa commit 1a79128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/linalg/example_norm.f90
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ program example_norm
print *, 'minval(||a(:,i)||) = ',norm(a, '-inf', dim=1) ! 1.00000000 0.00000000 3.00000000

! Catch Error:
! [norm] returned Value Error: dimension 4 is out of rank for shape(a)= [3 3]
! [norm] returned Value Error: dimension 4 is out of rank for shape(a)= [3, 3]
print *, 'invalid: ',norm(a,'inf', dim=4, err=err)
print *, 'error = ',err%print()

Expand Down

0 comments on commit 1a79128

Please sign in to comment.