Waller-Lab / DiffuserCam

DiffuserCam Processing Code
BSD 3-Clause "New" or "Revised" License
115 stars 30 forks source link

error: octave_base_value::int64_value (): wrong type argument 'sq_string' #12

Open bemoregt opened 4 years ago

bemoregt commented 4 years ago

Hi, @diivanand @antipa @eliasds @aamodsh @zfphil

I met this error when run in octave.

octave:3> xhat= DiffuserCam_main('DiffuserCam_settings.m'); error: invalid conversion from string to real scalar error: octave_base_value::int64_value (): wrong type argument 'sq_string' error: called from ADMM3D_solver at line 126 column 5 DiffuserCam_main at line 89 column 15

What's wrong to me ?

Thanks. Best, @bemoregt.

antipa commented 4 years ago

It sounds like an octave problem? We have not tested in octave, I don't know for sure. I'll the code is doing is passing in a string that points to a settings file. The settings file is actually just a .m that gets run inline, so you could replace the execution of the settings .m with the code that's inside the settings file.