-
-
Notifications
You must be signed in to change notification settings - Fork 924
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Find a BUG #106
Comments
Switch these two lines will solve the problem |
I can not see why modifying a->rCap will result in change in ta->rev? |
Because tmparcs and arcs share the memory called memArcs in the function initSize |
rCap is a float and rev is a pointer, 2 separate variables; how modifying one changes the value of the other? |
modifying a->rCap resulting in change of ta->rev ta and a are defined as different structure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please see MATH\IBFS\IBFS.cpp line 214
...
a->rCap = ta->cap
a->rev = arcs + (ta->rev-tmpArcs)
At least when building with 32 bit, modifying a->rCap will result in change in ta->rev when ta=taEnd-1, which will incorrectly modify the value of a->rev. It will cause ReconstructMesh to crash.
The text was updated successfully, but these errors were encountered: