Skip to content

Commit f36625b

Browse files
committed
Fix accidental bitwise or from 8f554df
1 parent f164ac1 commit f36625b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/linalg/generic.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function generic_scale!(X::AbstractArray, s::Number)
2121
end
2222

2323
function generic_scale!(C::AbstractArray, X::AbstractArray, s::Number)
24-
length(C) == length(X) | throw(DimensionMismatch("first array argument must be the same length as the second array argument"))
24+
length(C) == length(X) || throw(DimensionMismatch("first array argument must be the same length as the second array argument"))
2525
for i = 1:length(X)
2626
@inbounds C[i] = X[i]*s
2727
end

0 commit comments

Comments
 (0)