Edit from Matt: changelog entry and un-xfailed the test case.
Quoting the description of MR !1688 if it ever ends up lost to the sands of
time:
If `nslimit1` is zero, then `rank2` is called with `maxiter=0`. It is likely
the intent here is to at least compute and return an initial feasible solution
(though not running any network simplex iterations).
Gitlab: fixes #1902
Co-authored-by: Matthew Fernandez <matthew.fernandez@gmail.com>
- stdout and stderr are not flushed at exit on MinGW #2178
- Gvedit on macOS now understands the `-?` help command line argument
- CMAKE_LIBRARY_PATH is not honored #1973
+- assert failure with `nslimit1=0` #1902
## [2.50.0] – 2021-12-04
feasible = init_graph(g);
if (!feasible)
init_rank();
- if (maxiter <= 0) {
- freeTreeList (g);
- return 0;
- }
if (search_size >= 0)
Search_size = search_size;
return err;
}
}
+ if (maxiter <= 0) {
+ freeTreeList (g);
+ return 0;
+ }
+
while ((e = leave_edge())) {
int err;
f = enter_edge(e);
# has been reintroduced
dot("svg", input)
-@pytest.mark.xfail(strict=not is_ndebug_defined()) # FIXME
def test_1902():
"""
test a segfault from https://gitlab.com/graphviz/graphviz/-/issues/1902 has