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
If you use ComputeExpectations with a list of arrays (i.e. array([[ a, b , c]]) with state dependent = False, it misinterprets it as a 2D array, and passes it to kn_to_n, and overwrites the data.
Could possibly catch this error by checking if the shape of the list of arrays is internally consistent with N_k.
Not really a bug, but it's a case where bad data leads to a silent wrong answer, rather than stopping, which would be easier to catch.
The text was updated successfully, but these errors were encountered:
If you use ComputeExpectations with a list of arrays (i.e. array([[ a, b , c]]) with state dependent = False, it misinterprets it as a 2D array, and passes it to kn_to_n, and overwrites the data.
Could possibly catch this error by checking if the shape of the list of arrays is internally consistent with N_k.
Not really a bug, but it's a case where bad data leads to a silent wrong answer, rather than stopping, which would be easier to catch.
The text was updated successfully, but these errors were encountered: