Commit d7f3e358 authored by inhuszar's avatar inhuszar
Browse files

Bugfix: multi-threaded interpolator definition

parent 1af88506
......@@ -1103,7 +1103,7 @@ class TField(TIRLObject, np.lib.mixins.NDArrayOperatorsMixin):
# Create interpolator instance from class specification
if issubclass(type(ip), type) and issubclass(ip, Interpolator):
ip = ip(self, threads=-1)
ip = ip(self, threads=self.tsize)
ip.tensor_axes = self.taxes # direct access for speed
ip.threads = reduce(mul, self.tshape) # direct access for speed
ip.values =
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment