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

Remove ! versions of CholmodSparse and lufact to avoid invalid sparse matrices as discussed in #9472. #9803

Merged
merged 1 commit into from
Jan 16, 2015

Conversation

andreasnoack
Copy link
Member

For sparse matrices there is only a tiny saving from avoiding the allocation of a temporary array with zero based indexing and because we are using @inbounds in the sparse code, it is important to avoid invalid sparse matrices.

@andreasnoack andreasnoack changed the title Remove ! versions of cholfact and lufact to avoid invalid sparse matrices as discussed in #9472. Remove ! versions of CholmodSparse and lufact to avoid invalid sparse matrices as discussed in #9472. Jan 16, 2015
andreasnoack added a commit that referenced this pull request Jan 16, 2015
Remove ! versions of CholmodSparse and lufact to avoid invalid sparse matrices as discussed in #9472.
@andreasnoack andreasnoack merged commit 5863b31 into master Jan 16, 2015
@ViralBShah
Copy link
Member

Thanks. This is certainly the right thing to do.

@andreasnoack andreasnoack deleted the anj/sparse! branch January 16, 2015 19:38
@IainNZ
Copy link
Member

IainNZ commented Jan 17, 2015

This broke some packages, shouldn't there be something in NEWS or a deprecation warning or something?

@matrixmorpheus
Copy link
Contributor

What you must learn is that these rules are no different from the rules of a computer system.

matrixmorpheus added a commit to matrixmorpheus/julia that referenced this pull request Jan 17, 2015
Some rules can be bent. JuliaLang#9803

Others can be broken. JuliaLang#9779
@IainNZ
Copy link
Member

IainNZ commented Jan 17, 2015

Imgur

I literally can't even @matrixmorpheus

@ViralBShah ViralBShah added the sparse Sparse arrays label Jan 17, 2015
matrixmorpheus added a commit to matrixmorpheus/julia that referenced this pull request Jan 17, 2015
Some rules can be bent. JuliaLang#9803

Others can be broken. JuliaLang#9779
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sparse Sparse arrays
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants