Help with error message #84
-
Hi, After upgrading PyDDM from 0.5.0 to 0.7.0 I'm getting the below error message. I did not have this problem before. Do you know what might be going on? Thank you, Jan Willem
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
It looks like there might be something weird with your model or your sample. Does the model gui work for this sample/model combination? A couple more things that would be helpful in debugging:
Also, one thing that might be a quick fix: switch your imports from "import ddm" to "import pyddm as ddm" - importing pyddm by calling "import ddm" causes some weird problems, and support for this will be removed in a future version. |
Beta Was this translation helpful? Give feedback.
Could you please post your get_drift function from OneAccumulatorDrift? It looks like there might be an issue with it: when the "x" is a vector, does it sometimes return a vector and sometimes return a scalar? get_drift and get_noise should always return a vector the same size as the passed x. x will (almost always) be a vector. Old versions of pyddm would have silently ignored this.