Skip to content

Commit

Permalink
Fix physics test.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcfehling committed Oct 13, 2021
1 parent 8e23d53 commit 70b14fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/physics/transformations-rotations_01.cc
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ test_rotation_matrix_3d(const Tensor<1, 3> &axis, const double angle)
ExcMessage("Incorrect computation of R in 3d"));
}

Point<3>
normalise(const Point<3> &p)
Tensor<1, 3>
normalise(const Tensor<1, 3> &p)
{
Assert(p.norm() > 0.0, ExcMessage("Point vector has zero norm"));
return p / p.norm();
Expand Down

0 comments on commit 70b14fb

Please sign in to comment.