Skip to content

Commit

Permalink
Refactor transioplane.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
juliohm committed Oct 29, 2024
1 parent 986846b commit a43595d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/empirical/transioplane.jl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function EmpiricalTransioplane(
planes = collect(subset)
u, v = householderbasis(normal)
else
@error "transioplane only supported in 2D or 3D"
throw(ArgumentError("transioplane only supported in 2D or 3D"))
end

# loop over all angles of the plane
Expand Down

0 comments on commit a43595d

Please sign in to comment.