CSV loading broken under Octave
Commit DynareTeam/dynare@a2bd920d6f098b6a80be1f75d60cbd22c42899f5 (which has been incorporated into deseries with the location change of load_csv_file_data
) has broken CSV loading under Octave.
There are two problems:
- if the first line is less than 4097 lines, then the io package is loaded but not used, so the data are not read
- in the other case, the code which is run is broken. In particular, the variables
withnames
andwithtime
are not defined (this bug is triggered by test number 4 ofname2tex.m
)
Moreover, I think it would make sense to allow people who don't have the io package to always use the replacement code (when fixed). Currently, people who don't have the io package can read files where the first line is > 4097, but not the smaller ones.