Skip to content

Commit

Permalink
fix a typo in scan error mesage
Browse files Browse the repository at this point in the history
  • Loading branch information
kaikalii committed Sep 20, 2024
1 parent 0f720bb commit dd7b5c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algorithm/reduce.rs
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ fn generic_scan(f: Function, xs: Value, env: &mut Uiua) -> UiuaResult {
0 | 1 => Err(env.error(format!(
"{}'s function must have at least 2 arguments, \
but its signature is {sig}",
Primitive::Reduce.format(),
Primitive::Scan.format(),
))),
2 => {
if xs.row_count() == 0 {
Expand Down

0 comments on commit dd7b5c2

Please sign in to comment.