Skip to content

Commit f6ff1c6

Browse files
authored
fix the argument type of perpendicular_vector (#268)
1 parent 8314443 commit f6ff1c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Compute a vector perpendicular to `vec` by switching the two elements with
55
largest absolute value, flipping the sign of the second largest, and setting the
66
remaining element to zero.
77
"""
8-
function perpendicular_vector(vec::SVector{3})
8+
function perpendicular_vector(vec::StaticVector{3})
99
T = eltype(vec)
1010

1111
# find indices of the two elements of vec with the largest absolute values:

0 commit comments

Comments
 (0)