Closed DavidSagan closed 2 weeks ago
This is actually a Julia bug, and is occurring because there is no Descriptor defined. It attempts to use the default Descriptor (which is null) and when "getting" the numvar of that Descriptor it segfaults
Since I don't expect vars
to be called often, I could put the check in there (as well as complexvars
, params
, complexparams
). mono
, TPS
, and ComplexTPS
will give a descriptive error from the C code for this because it attempts to create a TPS before getting the number of variables/parameters.
Yes a check here would make the package less frustrating to the User.
Fixed in #763f784
Instead of throwing a Julia error the following bombs out of Julia and returns to the Unix command line: