Skip to content

Conversation

@timholy
Copy link
Member

@timholy timholy commented May 12, 2015

As reported in http://stackoverflow.com/questions/30155465/fast-tensor-initialisation-in-julia, qr factorization is not type-stable. This fixes part of the problem, but it's not enough on its own to make qr type-stable (even if you supply a Val{true}). I suspect it comes down to the F[:Q] syntax. This is just drive-by bugfixing, so I didn't make any difficult decisions.

@andreasnoack
Copy link
Member

Could you also add some @inferred to the tests? Then it can hopefully stay type stable. I can take a look at the qr methods.

@timholy
Copy link
Member Author

timholy commented May 12, 2015

Good idea. Done.

andreasnoack added a commit that referenced this pull request May 12, 2015
Make qrfact and qrfact! type-stable
@andreasnoack andreasnoack merged commit a44b31c into master May 12, 2015
@tkelman tkelman deleted the teh/qrfact branch May 12, 2015 20:12
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.

3 participants