Context:
There was a code that compare the value in numpy.ndarray and list in reduced_state (numpy.ndarray == list). This comparison was allowed in the previous version of numpy but prohibited in the latest one. Therefore, an error is raised.
Description of the Change:
Codes to convert the type from numpy.ndarray to list was added.
Benefits:
The error is fixed.
Possible Drawbacks:
This change may break other parts because codes to restore the type after the comparison have not been implemented.
Context: There was a code that compare the value in numpy.ndarray and list in
reduced_state
(numpy.ndarray == list). This comparison was allowed in the previous version of numpy but prohibited in the latest one. Therefore, an error is raised.Description of the Change: Codes to convert the type from numpy.ndarray to list was added.
Benefits: The error is fixed.
Possible Drawbacks: This change may break other parts because codes to restore the type after the comparison have not been implemented.
Related GitHub Issues: