ArrayFlow.rescale_to_unit
incorrectly presumes that sorted-state is always preserved #40
Labels
No labels
abstractions
architecture
bug
distribution
docs
duplicate
enhancement
feature
physical
proposal
question
simulation
tooling
tracker
unconfirmed
ux
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: so-rose/oscillode#40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. 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.