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
List test works by generating random matrices. We should improve this behavior by a) Having an inner loop where we test on a set of random matrices b) Instead of using rand.Float64() to generate random elements, we should instead use const*rand.NormFloat64()
Fix a) helps to check "nonlinear" functions like Max where the location of the maximum element can vary, and Fix b) ensures we have have matrix values of a variety of signs and sizes. Plausibly we also should have a small change of being 0 as well (5% or something).
The text was updated successfully, but these errors were encountered:
ListTwoTest should also fill the entire data slice with values (or possibly NaN) for types like TriDense and SymDense as 0 is a pretty innocuous value with an incorrect access.
btracey
changed the title
Improvements to list_test testing behavior
matrix/mat64: Improvements to list_test testing behavior
Mar 16, 2017
List test works by generating random matrices. We should improve this behavior by a) Having an inner loop where we test on a set of random matrices b) Instead of using rand.Float64() to generate random elements, we should instead use const*rand.NormFloat64()
Fix a) helps to check "nonlinear" functions like Max where the location of the maximum element can vary, and Fix b) ensures we have have matrix values of a variety of signs and sizes. Plausibly we also should have a small change of being 0 as well (5% or something).
The text was updated successfully, but these errors were encountered: