Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: cleanup blas.jl scal! #8499

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix the throw statement
Nick Henderson committed Sep 27, 2014

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 76a3ebb3720ec26a2c8c9904ec9dcb34f1d261e7
2 changes: 1 addition & 1 deletion base/linalg/blas.jl
Original file line number Diff line number Diff line change
@@ -103,7 +103,7 @@ for (fname, elty, celty) in ((:sscal_, :Float32, :Complex64),
# contiguously, sscal and dscal will stride over individual numbers,
# not pairs of numbers
if incx != 1
throw ArgumentError("scal! requires incx == 1 in case where DA is real and DX is complex")
throw(ArgumentError("scal! requires incx == 1 in case where DA is real and DX is complex"))
end
ccall(($(string(fname)),libblas), Void,
(Ptr{BlasInt}, Ptr{$elty}, Ptr{$celty}, Ptr{BlasInt}),