Skip to content

Commit fb008b4

Browse files
committed
Update example_state1.f90
1 parent a90f25a commit fb008b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/linalg/example_state1.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ program example_state1
33
implicit none
44
type(linalg_state_type) :: err
55

6-
! To create a state flag, we enter a state flag, followed by any list of variables
7-
! that will be assembled into a formatted error message
6+
! To create a state variable, we enter its integer state flag, followed by a list of variables
7+
! that will be automatically assembled into a formatted error message. No need to provide string formats
88
err = linalg_state_type(LINALG_VALUE_ERROR,'just an example with scalar ',&
99
'integer=',1,'real=',2.0,'complex=',(3.0,1.0),'and array ',[1,2,3],'inputs')
1010

0 commit comments

Comments
 (0)