Commit c7e36e2d authored by Martin Reinecke's avatar Martin Reinecke

fixes

parent 5e9ac509
Pipeline #29028 passed with stages
in 10 minutes and 29 seconds
......@@ -34,10 +34,10 @@ class MultiField(object):
@staticmethod
def from_random(random_type, domain, dtype=np.float64, **kwargs):
dtype = MultiField.build_dtype(dtype)
dtype = MultiField.build_dtype(dtype, domain)
return MultiField({key: Field.from_random(random_type, domain[key],
dtype[key], **kwargs)
for key in domain.keys})
for key in domain.keys()})
def _check_domain(self, other):
if other.domain != self.domain:
......
Markdown is supported
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