We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f164ac1 commit f36625bCopy full SHA for f36625b
base/linalg/generic.jl
@@ -21,7 +21,7 @@ function generic_scale!(X::AbstractArray, s::Number)
21
end
22
23
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"))
+ length(C) == length(X) || throw(DimensionMismatch("first array argument must be the same length as the second array argument"))
25
for i = 1:length(X)
26
@inbounds C[i] = X[i]*s
27
0 commit comments