Commit 8f0ec2f 1 parent 0f159da commit 8f0ec2f Copy full SHA for 8f0ec2f
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -113,13 +113,13 @@ def _ptr_to_recarray(self):
113
113
values = np .copy (ptr )
114
114
if name in self ._boundvars :
115
115
for ix , nm in enumerate (self .parent ._bound_vars ):
116
- values = values [0 : self ._nbound [0 ], ix ]
117
- recarray [nm ][0 : self ._nbound [0 ]] = values
116
+ bnd_values = values [0 : self ._nbound [0 ], ix ]
117
+ recarray [nm ][0 : self ._nbound [0 ]] = bnd_values
118
118
elif name == "auxvar" :
119
119
for ix in range (self ._naux [0 ]):
120
120
nm = self ._auxnames [ix ]
121
- values = values [0 : self ._nbound [0 ], ix ]
122
- recarray [nm ][0 : self ._nbound [0 ]] = values
121
+ aux_values = values [0 : self ._nbound [0 ], ix ]
122
+ recarray [nm ][0 : self ._nbound [0 ]] = aux_values
123
123
124
124
elif name == "auxname_cst" :
125
125
pass
You can’t perform that action at this time.
0 commit comments