Skip to content

Input timestamps#419

Merged
benemer merged 1 commit intomainfrom
tiz_and_ben/input_timestamps
Jan 8, 2025
Merged

Input timestamps#419
benemer merged 1 commit intomainfrom
tiz_and_ben/input_timestamps

Conversation

@tizianoGuadagnino
Copy link
Collaborator

The input timestamps to pybind need to be a 1-D array, otherwise a copy is made during the function call. Because we cannot check this statically (thanks python), we decided to go for this (ugly) solution that ensures that the input stamps are always a 1-D view of the input timestamps.

@benemer benemer merged commit 286ef70 into main Jan 8, 2025
19 checks passed
@benemer benemer deleted the tiz_and_ben/input_timestamps branch January 8, 2025 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants