From f2ab2d046937cc67289eadf33519ed3f74b3f779 Mon Sep 17 00:00:00 2001 From: Herman Sletmoen Date: Tue, 16 Jul 2024 21:51:32 +0200 Subject: [PATCH] Format --- src/utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.jl b/src/utils.jl index a63de40268..b88472b323 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -186,7 +186,7 @@ function check_equations(eqs, iv) for eq in eqs vars, pars = collect_vars(eq, iv) - isempty(vars) && !isempty(pars) && + isempty(vars) && !isempty(pars) && throw(ArgumentError("Equation $eq contains only parameters, but relationships between parameters should be specified with defaults or parameter_dependencies.")) end end