diff --git a/wfsim/core/s2.py b/wfsim/core/s2.py index a932e7f9..8935c6cb 100644 --- a/wfsim/core/s2.py +++ b/wfsim/core/s2.py @@ -554,7 +554,7 @@ def photon_timings(positions, n_photons_per_xy, _electron_timings, n_photons_per # repeat for n photons per electron # Should this be before adding delays? _photon_timings += np.repeat(_electron_timings, n_photons_per_ele) - return _photon_timings + return _photon_timings.astype(np.int64) @staticmethod def s2_pattern_map_diffuse(n_electron, z, xy, config, resource):