From a43595d42d98d4b4b8fa30e3a234417253841b29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BAlio=20Hoffimann?= Date: Tue, 29 Oct 2024 16:27:48 -0300 Subject: [PATCH] Refactor transioplane.jl --- src/empirical/transioplane.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/empirical/transioplane.jl b/src/empirical/transioplane.jl index 2f4a26d..ae3f30e 100644 --- a/src/empirical/transioplane.jl +++ b/src/empirical/transioplane.jl @@ -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