You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
program demo_set
use paramcard
implicit nonecall paramcard_set('a', 1)
end program demo_set
gives
At line 1195 of file ./src/paramcard.f90
Fortran runtime error: Index '1' of dimension 1 of array 'tmp_params' outside of expected range (1:0)
Error termination. Backtrace:
#0 0x7feff0c07692 in ???
#1 0x7feff0c08159 in ???
#2 0x7feff0c0876a in ???
#3 0x4065d3 in add_param
at ./src/paramcard.f90:1195
#4 0x40ced5 in __paramcard_MOD_paramcard_set_str
at ./src/paramcard.f90:828
#5 0x40c8fa in __paramcard_MOD_paramcard_set_int32
at ./src/paramcard.f90:872
#6 0x40133c in demo_set
at example/demo-set.f90:4
#7 0x401378 in main
at example/demo-set.f90:2
<ERROR> Execution failed for object " demo-set "
<ERROR>*cmd_run*:stopping due to failed executions
STOP 1
The text was updated successfully, but these errors were encountered:
gives
The text was updated successfully, but these errors were encountered: