From 64e0b5ee7a45d1eefa39c0cfbcad4b814c33823b Mon Sep 17 00:00:00 2001
From: Michiel Cottaar <michiel.cottaar@ndcn.ox.ac.uk>
Date: Tue, 30 Jan 2024 16:20:16 +0000
Subject: [PATCH] Fix calling of qval

---
 src/variables.jl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/variables.jl b/src/variables.jl
index c49e179..402da5e 100644
--- a/src/variables.jl
+++ b/src/variables.jl
@@ -57,7 +57,7 @@ function qval_square(bb; kwargs...)
     vec = qvec(bb; kwargs...)
     return vec[1]^2 + vec[2]^2 + vec[3]^2
 end
-qval(bb; kwargs...) = sqrt(qval_square(qvec))
+qval(bb; kwargs...) = sqrt(qval_square(bb))
 
 
 
-- 
GitLab