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
#1035 fixed a bug where the array of constraints contained undefs. The unit test only checks if the method does not crash. To avoid such problems in the future, we should at least test that each constraint is indeed a constraint.
The text was updated successfully, but these errors were encountered:
One could make a simple but meaningful test in such situation by checking for example that the image of an element is in the linear map:
M = N[23; 12] # invertible matrix
MP =linear_map(N[23; 12], P) # check concrete linear map@test M *an_element(P) ∈ MP # check that the image of an element is in the linear map
#1035 fixed a bug where the array of constraints contained
undef
s. The unit test only checks if the method does not crash. To avoid such problems in the future, we should at least test that each constraint is indeed a constraint.The text was updated successfully, but these errors were encountered: