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
An example of exception messages being thrown currently is:
[ RUN ] Approx1/3.Approx1ArgsInterpCubic
In function /workspace/af_branches/devel/src/api/c/approx.cpp(56):
Invalid argument at index 3
Expected: (method == AF_INTERP_LINEAR || method == AF_INTERP_NEAREST)
There are 2 problems with this:
It gives the user no information about which function is actually throwing the exception
Users using the installer version are seeing paths from the installer projects on CI.
Fix this by changing the error message to include the function name, and only use the base file name along with line number. The above would change to:
[ RUN ] Approx1/3.Approx1ArgsInterpBilinear
In function af_err af_approx1(void**, af_array, af_array, af_interp_type, float)(approx.cpp:56):
Invalid argument at index 3
Expected: (method == AF_INTERP_LINEAR || method == AF_INTERP_NEAREST)
The text was updated successfully, but these errors were encountered:
An example of exception messages being thrown currently is:
There are 2 problems with this:
Fix this by changing the error message to include the function name, and only use the base file name along with line number. The above would change to:
The text was updated successfully, but these errors were encountered: