You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In class ISAAR.MSolve.Numerical.LinearAlgebra.Quaternion methods ApplyIncrementalRotation(Vector incrementalRotation) and ApplyIncrementalRotationToNew(Vector incrementalRotation), note the segment:
The first line above does NOT copy the vector in C#. It only creates a new reference to the same vector. This means that as updatedVectorPart is scaled, added, etc, the original this.vectorPart does as well.
The question is: Is this code still correct, taking the above into consideration?
The text was updated successfully, but these errors were encountered:
In class ISAAR.MSolve.Numerical.LinearAlgebra.Quaternion methods ApplyIncrementalRotation(Vector incrementalRotation) and ApplyIncrementalRotationToNew(Vector incrementalRotation), note the segment:
The first line above does NOT copy the vector in C#. It only creates a new reference to the same vector. This means that as updatedVectorPart is scaled, added, etc, the original this.vectorPart does as well.
The question is: Is this code still correct, taking the above into consideration?
The text was updated successfully, but these errors were encountered: