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
In file included from /home/linux/temp/solver_tests/Adjacent/src/test.cpp:4:
/home/linux/temp/solver_tests/Adjacent/include/constraint.hpp:141:30: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
141 | cur_value += abs(e->eval());
| ^
/home/linux/temp/solver_tests/Adjacent/include/constraint.hpp:141:30: note: use function 'std::abs' instead
141 | cur_value += abs(e->eval());
| ^~~
| std::abs
/home/linux/temp/solver_tests/Adjacent/include/constraint.hpp:231:30: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
231 | cur_value += abs(el->eval());
| ^
/home/linux/temp/solver_tests/Adjacent/include/constraint.hpp:231:30: note: use function 'std::abs' instead
231 | cur_value += abs(el->eval());
| ^~~
| std::abs
/home/linux/temp/solver_tests/Adjacent/include/constraint.hpp:540:30: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
540 | cur_value += abs(el->eval());
| ^
/home/linux/temp/solver_tests/Adjacent/include/constraint.hpp:540:30: note: use function 'std::abs' instead
540 | cur_value += abs(el->eval());
| ^~~
| std::abs
3 warnings generated.
The text was updated successfully, but these errors were encountered:
only in test-code but maybe relevant
The text was updated successfully, but these errors were encountered: