• Wendy Merks-Swolfs's avatar
    Decrease value of ix to avoid that possible swap is skipped. If e.g. ix = 0,… · 3ba674de
    Wendy Merks-Swolfs authored
    Decrease value of ix to avoid that possible swap is skipped. If e.g. ix = 0, ichoice will be 0 as well. If the edge swapping succeeds, the new intersected[0] will be the old intersected[1]. However, as ix is now 1 and so ichoice will be 1 as well, it will now check the new intersected[1], which is the old intersected[2]. Old intersected[1] is now skipped. In test "unable_to_recover_edge.geo", there are 5 edges intersected, but as one possible edge is skipped all the time and 2 other edges cannot be swapped, the other two edges keep on going from one configuration to another configuration and back again. With this fix, the test will now succeed.
    3ba674de
Name
Last commit
Last update
Common Loading commit data...
Fltk Loading commit data...
Geo Loading commit data...
Graphics Loading commit data...
Mesh Loading commit data...
Numeric Loading commit data...
Parser Loading commit data...
Plugin Loading commit data...
Post Loading commit data...
Qt Loading commit data...
Solver Loading commit data...
api Loading commit data...
benchmarks Loading commit data...
contrib Loading commit data...
demos Loading commit data...
doc Loading commit data...
tutorial Loading commit data...
utils Loading commit data...
wrappers Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
CHANGELOG.txt Loading commit data...
CMakeLists.txt Loading commit data...
CREDITS.txt Loading commit data...
CTestConfig.cmake Loading commit data...
LICENSE.txt Loading commit data...
README.txt Loading commit data...