Skip to content

Mpfilter valueerror#37

Merged
colemanjs merged 2 commits into
mainfrom
mpfilter-valueerror
Jul 1, 2026
Merged

Mpfilter valueerror#37
colemanjs merged 2 commits into
mainfrom
mpfilter-valueerror

Conversation

@subravvr

Copy link
Copy Markdown
Collaborator

issue was with 0 indexing. we want to include both 0 and self.duration in the time domain.
switched to self.n_points = floordivide(self.duration, self.dt) +1 -> to include the 0 index
and then just self.t = linspace(0, self.duration, self.npoints) -> recovers the same dt.

@subravvr subravvr requested a review from colemanjs June 30, 2026 12:16
@colemanjs colemanjs merged commit ee1f8d8 into main Jul 1, 2026
1 check passed
@colemanjs colemanjs deleted the mpfilter-valueerror branch July 1, 2026 12:36
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.

ValueError in MeltPoolFilter due to array size mismatch (off-by-one error)

2 participants