Skip to content

Commit

Permalink
Maybe?
Browse files Browse the repository at this point in the history
  • Loading branch information
Pencilcaseman committed Oct 17, 2023
1 parent d1da7ab commit e168bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librapid/include/librapid/math/vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace librapid {
result[i] = ::librapid::randomGaussian();
}

return result.norm();
return norm(result);
}

/// \brief Generate a random point within the unit sphere
Expand Down

0 comments on commit e168bc9

Please sign in to comment.