Commits

Chris Mutel committed c771fce

Don't need overwritten default values

Comments (0)

Files changed (2)

bw2data/database.py

             ('negative', np.bool)
         ]
         arr = np.zeros((num_exchanges + len(data), ), dtype=dtype)
-        arr['minimum'] = arr['maximum'] = np.NaN
-        arr['loc'] = arr['scale'] = arr['shape'] = np.NaN
         count = 0
         for key in sorted(data.keys(), key=lambda x: x[1]):
             production_found = False

bw2data/method.py

             ('negative', np.bool)
         ]
         arr = np.zeros((len(data), ), dtype=dtype)
-        arr['minimum'] = arr['maximum'] = arr['sigma'] = np.NaN
         for i, (key, value, geo) in enumerate(data):
             arr[i] = (
                 0,