-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
Add compatibility function Compat.LinAlg.checksquare #175
Conversation
eb29404
to
929b515
Compare
Shouldn't this be better handled by a unexported |
Maybe. What are the trade-offs? |
An actual name is much more reliable than rewriting the ast with a macro and should be the preferred way. |
The down side is of course that you can't just remove the |
I can see that, but it is compelling that you can just use latest syntax + |
The fact that you need to patch |
929b515
to
9a13c9d
Compare
@@ -859,4 +859,14 @@ else # if VERSION < v"0.5.0-dev+1182" | |||
|
|||
end | |||
|
|||
module LinAlg | |||
if VERSION < v"0.5.0-dev+2022" | |||
checksquare(x) = Base.LinAlg.chksquare(x) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These can be const checksquare = Base.LinAlg.chksquare
and const checksquare = Base.LinAlg.checksquare
(or import Base.LinAlg.checksquare
).
9a13c9d
to
f92c60e
Compare
f92c60e
to
ae4b9e5
Compare
@yuyichao Thanks for the comments. I've updated the PR. |
LGTM. =) |
Add compatibility function Compat.LinAlg.checksquare
enable AppVeyor
Fixes #168