drvinceknight/Nashpy

Asymmetric replicator dynamics test fails for large matrices

MichalisPanayides opened this issue · 0 comments

The test test_equivalence_between_symmetric_and_asymmetric_replicator_dynamics located in tests/test_replicator_dynamics.py fails for larger matrices and for larger elements of the arrays.

Currently

The test is currently implemented using hypothesis and generating 2x2 matrices with elements from 1-5. When increasing either the dimensions of the matrices or the elements range the test fails.

Possible fixes

A possible fix could be to replace odeint (which is deprecated) with solve_ivp.