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
I can't think of any sanity-checks (apart from the eternal problem of bounds-checking) that we could even implement, never mind turn on. Can you help me with examples?
The only example I had at the time was to default to barf by default for sclr:
PDL->sclr({Check=>'barf'}); # croak if called with multi-el pdls
I opened the issue in hopes of getting ideas for more places where extra checking could be done. I would be thinking an API based on Devel::StrictMode like MooX::Should.
I'd have thought that sclr on a multi-elt pdl is simply an error, and should just barf anyway? Basically, I'm not seeing the benefit of non-strict mode; either these things are right, or they're not.
e.g.,
sclr
Something like
PDL::Strict
. We should check for other such opportunities and add them to the module as time passes.What do you think?
The text was updated successfully, but these errors were encountered: