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

Support qrfact(::AbstractMatrix) #16262

Merged
merged 1 commit into from
May 8, 2016
Merged

Support qrfact(::AbstractMatrix) #16262

merged 1 commit into from
May 8, 2016

Conversation

timholy
Copy link
Member

@timholy timholy commented May 8, 2016

See discussion about a breakage caused by ReshapedArrays starting at #15449 (comment).

It's likely that this won't be the last of breakages by ReshapedArrays: overall they have been an effective tool for discovering places we should remove needless specification of Array or StridedArray (e.g., f6f616c). Unfortunately, unless someone is willing to start on a systematic audit, there's a strong likelihood that "usage in the wild" will turn up yet more places.

@timholy timholy mentioned this pull request May 8, 2016
@andreasnoack
Copy link
Member

Ah. I made this one sound more complicated that necessary. copy is sufficient here because it returns a mutable array for the specific ReshapedArray. This will fail when copy(AbstractMatrix) is not mutable but it's probably not that often we'll see that.

@timholy timholy merged commit 582b960 into master May 8, 2016
@timholy timholy deleted the teh/generalize_qr branch May 8, 2016 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants