From 22e1e7cea55917faa23677ecfd51c3455b232fe0 Mon Sep 17 00:00:00 2001 From: Philipp Jurasic Date: Thu, 7 Nov 2024 17:17:56 +0100 Subject: [PATCH] Bugfix for SPEC non-stellerator symmetric case --- src/simsopt/mhd/spec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simsopt/mhd/spec.py b/src/simsopt/mhd/spec.py index 8a9655efc..7e0e40aae 100644 --- a/src/simsopt/mhd/spec.py +++ b/src/simsopt/mhd/spec.py @@ -199,7 +199,7 @@ def __init__(self, mpol=self.mpol, ntor=self.ntor) self._boundary.rc[:] = self.array_translator(si.rbc, style='spec').as_simsopt self._boundary.zs[:] = self.array_translator(si.zbs, style='spec').as_simsopt - if not self.freebound: + if not self.stellsym: self._boundary.rs[:] = self.array_translator(si.rbs, style='spec').as_simsopt self._boundary.zc[:] = self.array_translator(si.zbc, style='spec').as_simsopt self._boundary.local_full_x = self._boundary.get_dofs()