mirror of https://github.com/CGAL/cgal
Fix a bug in the test test/Kernel_d/Linear_algebra-test.cpp, lines 205 and 402. In the following expression: LA::homogeneous_linear_solver(E,SV)==LA::rank(SV)) the order of evaluation of the two operands of operator== is not determinated by the C++ norm. See http://en.cppreference.com/w/cpp/language/eval_order LA::homogeneous_linear_solver modifies its argument SV, and thus has a side-effect that is not sequenced before the value computation of the argument of LA::rank. Thus the bug, on certain platforms, when the compilator allows itself to optimize the order of operations. Tested in CGAL-4.3-Ic-195 and approved for CGAL-4.3 by the RM |
||
|---|---|---|
| .. | ||
| doc/Kernel_d | ||
| doc_tex | ||
| include/CGAL | ||
| noweb | ||
| package_info/Kernel_d | ||
| test/Kernel_d | ||
| dont_submit | ||