Skip to content

Commit caac2a4

Browse files
committed
typo
1 parent a5df8ad commit caac2a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/operators.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,7 @@ end
12111211

12121212
function (f::Fix{F,N,T})(args::Vararg{Any,M}) where {F,N,T,M}
12131213
@inline
1214-
M < N - 1 || M == 0 || throw(ArgumentError("expected at least $(N-1) arguments to a `Fix` function with `N=$(N)`"))
1214+
M < N - 1 || N == 0 || throw(ArgumentError("expected at least $(N-1) arguments to a `Fix` function with `N=$(N)`"))
12151215
return f.f(args[begin:begin+(N-2)]..., f.x..., args[begin+(N-1):end]...)
12161216
end
12171217

0 commit comments

Comments
 (0)