ArrayFlow.rescale_to_unit
incorrectly presumes that sorted-state is always preserved #40
Labels
No Label
abstractions
architecture
bug
distribution
docs
duplicate
enhancement
feature
physical
proposal
question
simulation
tooling
tracker
unconfirmed
ux
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: so-rose/oscillode#40
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
In this case, scaling to a unit will generally preserve sorting, but if it were to not, some very nasty bugs will jump out. Whether the array is sorted is essential, since it allows the use of a fast binary search algorithm to find indices corresponding to values (one which must run every time a fixed coordinate is altered in the
FilterNode
).We can do checks to correctly propagate
ArrayFlow.is_sorted
, and we should.