diff --git a/wfsim/core/s2.py b/wfsim/core/s2.py index 8935c6cb..3f5e48f9 100644 --- a/wfsim/core/s2.py +++ b/wfsim/core/s2.py @@ -541,7 +541,7 @@ def photon_timings(positions, n_photons_per_xy, _electron_timings, n_photons_per # Optical Propagation Delay if "optical_propagation" in config['s2_time_model']: # optical propagation splitting top and bottom - _photon_timings += S2.optical_propagation(_photon_channels, config, resource.s2_optical_propagation_spline) + _photon_timings += S2.optical_propagation(_photon_channels, config, resource.s2_optical_propagation_spline).astype(np.int64) elif "zero_delay" in config['s2_time_model']: # no optical propagation delay _photon_timings += np.zeros_like(_photon_timings, dtype=np.int64)