-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
An indexing exception is encountered when calling Rstat2M with default grid_size and sample_size. The error arises from truncnorm, and may be distribution dependent. Notably, the exception is not raised in the mirror image function Mstat2R.
The solution is to make sure grid_size and sample_size are integers, not floats. In the code you'll note that Mstat2R uses grid_size=1000, whereas in Rstat2M uses grid_size=1e3. The best solution would be to manually alter the code so that this exception is never encountered. Alternatively, the user must be sure to specify values for these keywords.
Presumably this wasn't a problem when the code was published, but it is now (at least for me).
Metadata
Metadata
Assignees
Labels
No labels