mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
ng_filter: Fix bug introduced in 98eff64
If the max width is modified for a region, use the modified version when checking to see if a self-loop must be added on the last vertex.
This commit is contained in:
parent
9eb328b455
commit
94b33421ca
@ -285,7 +285,7 @@ void replaceRegion(NGHolder &g, const RegionInfo &ri,
|
||||
verts.push_back(v);
|
||||
}
|
||||
|
||||
if (ri.maxWidth.is_infinite()) {
|
||||
if (maxWidth.is_infinite()) {
|
||||
add_edge(verts.back(), verts.back(), g);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user