Commit f8fcace5 authored by Theo Steininger's avatar Theo Steininger

Fixed dtype of field to be at minimum np.float.

parent a67eda68
......@@ -170,6 +170,8 @@ class Field(Loggable, Versionable, object):
else:
dtype = np.dtype(dtype)
dtype = np.result_type(dtype, np.float)
return dtype
def _parse_distribution_strategy(self, distribution_strategy, val):
......
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