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
The test utility assert_cases_equal currently prints out the difference in each element of an array when a difference is found. Chance this such that it only prints out the max and mean values of the differences.
Example
The current test for difference values in assert_cases_equal outputs differences between 3 variables a, b, and c.
Rather than printing the entirety of these arrays, which can grow large for some real-world problems, only print out the mean and max differences:
The following variables contain different values:
var max error mean error
--- ---------------- ----------------
a 4.000000000e+00 2.000000000e+00
b 5.000000000e+00 2.500000000e+00
c 4.000000000e+00 1.333333333e+00
Environment
Dymos 1.5.1-dev
The text was updated successfully, but these errors were encountered:
Issue Type
Description
The test utility
assert_cases_equal
currently prints out the difference in each element of an array when a difference is found. Chance this such that it only prints out the max and mean values of the differences.Example
The current test for difference values in
assert_cases_equal
outputs differences between 3 variables a, b, and c.Rather than printing the entirety of these arrays, which can grow large for some real-world problems, only print out the mean and max differences:
Environment
Dymos 1.5.1-dev
The text was updated successfully, but these errors were encountered: