Open Luthaf opened 3 years ago
I am working on a PR making the json reading of cpp files more user friendly #376 (at the moment json error is returned which basically only tells you that somewhere in the hypers there is a parameter wrong). I can add also checks for max_angular
and max_radial
so annoying, on the c++ side we use size_t, so one has to do the check on the python side. I really think size_t is always a bad choice for user input
EDIT: I can also read temporary an int and then convert it to size_t
Another discovery by @bananenpampe. The following code segfaults:
I think this should throw an error instead!
Other invalid combinations: