Skip to content

Commit cfbb21f

Browse files
committed
Do not deepcopy profiles in port_critical
1 parent eef8764 commit cfbb21f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

freegsnke/GSstaticsolver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def port_critical(self, eq, profiles):
233233
eq.flag_limiter = profiles.flag_limiter
234234

235235
eq._current = np.sum(profiles.jtor) * self.dRdZ
236-
eq._profiles = deepcopy(profiles)
236+
eq._profiles = profiles
237237

238238
try:
239239
eq.tokamak_psi = self.tokamak_psi.reshape(self.nx, self.ny)

0 commit comments

Comments
 (0)