We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
perpendicular_vector
1 parent 8314443 commit f6ff1c6Copy full SHA for f6ff1c6
src/util.jl
@@ -5,7 +5,7 @@ Compute a vector perpendicular to `vec` by switching the two elements with
5
largest absolute value, flipping the sign of the second largest, and setting the
6
remaining element to zero.
7
"""
8
-function perpendicular_vector(vec::SVector{3})
+function perpendicular_vector(vec::StaticVector{3})
9
T = eltype(vec)
10
11
# find indices of the two elements of vec with the largest absolute values:
0 commit comments