Skip to content

Commit

Permalink
Merge pull request #271 from lsst/tickets/DM-39726
Browse files Browse the repository at this point in the history
DM-39726: Use float64 rather than generic float type
  • Loading branch information
timj committed Jun 20, 2023
2 parents d25bd44 + afacaed commit 97657c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/ip/isr/deferredCharge.py
Expand Up @@ -81,7 +81,7 @@ def __init__(self, size, emission_time, pixel, trap_type, coeffs):
raise ValueError('Unknown trap type: %s', self.trap_type)

if self.trap_type == 'spline':
centers, values = np.split(np.array(self.coeffs, dtype=np.float), 2)
centers, values = np.split(np.array(self.coeffs, dtype=np.float64), 2)
# Ensure all NaN values are stripped out
values = values[~np.isnan(centers)]
centers = centers[~np.isnan(centers)]
Expand Down

0 comments on commit 97657c6

Please sign in to comment.