Skip to content

Conversation

@alecjacobson
Copy link
Contributor

J was not always being filled in and then it was erroneously resized to the wrong length. This most immediately broke the WindingNumber tutorial.

assert(ti>=0);
assert(ti<TT.rows());
// this will overwrite, but should be with the same value
J(f) = ti;
Copy link
Collaborator

@jdumas jdumas Nov 2, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could also move the const int ti = faces[f].second; outside the loop on v.
EDIT: Done.

@jdumas jdumas changed the base branch from master to dev November 2, 2019 16:39
Copy link
Collaborator

@jdumas jdumas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch =)

alecjacobson and others added 2 commits November 2, 2019 13:42
J was not always being filled in and then it was erroneously resized to the wrong length. This most immediately _**broke**_ the WindingNumber tutorial.
@jdumas jdumas force-pushed the alecjacobson-patch-1 branch from bfc172f to 3b0cd79 Compare November 2, 2019 17:43
@alecjacobson alecjacobson merged commit b856e04 into dev Nov 3, 2019
@jdumas jdumas deleted the alecjacobson-patch-1 branch November 3, 2019 16:01
@BruegelN BruegelN mentioned this pull request Nov 4, 2019
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants