Skip to content

Commit

Permalink
Fix incorrect member variable (#76)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #76

This variable doesn't exist. It's supposed to be `weight`. This was flagged when building with llvm-19

Reviewed By: yozhu, jeongseok-meta

Differential Revision: D62666886

fbshipit-source-id: 642b9150636ec7733be4d8f2851333e56726e615
  • Loading branch information
thevinster authored and facebook-github-bot committed Sep 13, 2024
1 parent eb14dc8 commit bcaf8f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion momentum/character_solver/vertex_error_function.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ struct VertexConstraintT {
VertexConstraintT<T2> cast() const {
return {
this->vertexIndex,
(T)this->weight_,
(T)this->weight,
this->targetPosition.template cast<T2>(),
this->targetNormal.template cast<T2>()};
}
Expand Down

0 comments on commit bcaf8f6

Please sign in to comment.