Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
force photon_timings to return np.int64
Browse files Browse the repository at this point in the history
  • Loading branch information
FaroutYLq committed Mar 20, 2024
1 parent 2317065 commit 82cdf39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wfsim/core/s2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 82cdf39

Please sign in to comment.