Conversation
By looping `for parameter in parameters`, `parameter` can be a float. The current implementation breaks the function.
Codecov Report
@@ Coverage Diff @@
## dev #486 +/- ##
=======================================
Coverage 94.43% 94.43%
=======================================
Files 85 85
Lines 6590 6590
=======================================
Hits 6223 6223
Misses 367 367
Continue to review full report at Codecov.
|
mstechly
left a comment
There was a problem hiding this comment.
Could you add a test which checks this behaviour?
Also, I think it might not work if the parameters are sympy symbols, could you also check for that?
AthenaCaesura
left a comment
There was a problem hiding this comment.
Also, shouldn't mypy take care of this? If parameter isn't an array (at least 1d) then you should get a mypy error.
|
|
By looping
for parameter in parameters,parametercan be a float. The current implementation breaks the function.