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

Allow sparse / sparsevec constructors to work for AbstractMatrix argument types. #10031

Merged
merged 2 commits into from
Feb 3, 2015
Merged
Show file tree
Hide file tree
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
update DOCS / NEWS.md about sparse / sparsevec API change
  • Loading branch information
jakebolewski committed Feb 2, 2015
commit 797dcd917409d17530c063cff611b9a9737c1575
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ Compiler improvements
Library improvements
--------------------

* `sparse(A)` now takes any `AbstractMatrix` A as an argument. ([#10031])

* Factorization api is now type-stable, functions dispatch on `Val{false}` or `Val{true}` instead of a boolean value ([#9575]).

* `convert` now checks for overflow when truncating integers or converting between
Expand Down
2 changes: 1 addition & 1 deletion doc/stdlib/arrays.rst
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ Sparse matrices support much of the same set of operations as dense matrices. Th

.. function:: sparse(A)

Convert a dense matrix ``A`` into a sparse matrix.
Convert an AbstractMatrix ``A`` into a sparse matrix.

.. function:: sparsevec(A)

Expand Down