Unknown Variable middle-1 in the ArrayMedian Function #2
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
graveyard/typst-statastic#2
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?
When calling the
arrayMedianfunction and only passing three values in the array it throws an error sayingunknown variable: middle-1.Changing
col.at(middle-1)tocol.at(middle - 1)appears to fix the issue.This is fixed in
d525748d4aand will be in version 1.0.0 when that is merged https://github.com/typst/packages/pull/1158