Skip to content

Commit

Permalink
fix: Correct minor typo to 'Vector3D'
Browse files Browse the repository at this point in the history
  • Loading branch information
utilForever committed Aug 28, 2021
1 parent 01a83e5 commit bdc6afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Core/CUDA/CUDAPCISPHSolver3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ float CUDAPCISPHSolver3::ComputeDelta(float timeStepInSeconds)
{
double distance = std::sqrt(distanceSquared);
Vector3D direction =
(distance > 0.0) ? point / distance : Vector2D{};
(distance > 0.0) ? point / distance : Vector3D{};

// grad(Wij)
Vector3D gradWij = kernel.Gradient(distance, direction);
Expand Down

0 comments on commit bdc6afc

Please sign in to comment.