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

Syntax change for Julia 1.5 #8

Merged
merged 5 commits into from
Sep 24, 2020
Merged

Syntax change for Julia 1.5 #8

merged 5 commits into from
Sep 24, 2020

Conversation

AnderGray
Copy link
Contributor

Hi John,

Thanks for making this great package public, I'm thinking of using it in some of my projects.
I've just gone through and updated the syntax for Julia 1.5. All of the examples and tests run perfectly.

What do you think about changing Coord to a static vector. Would it improve performance?

Something like:

Coord(x,y,z) = SVector{3}(x,y,z)

Regards,
Ander

@jtramm
Copy link
Owner

jtramm commented Sep 24, 2020

Hey Ander -- thanks for putting in this PR! I haven't had time to update it for the new API, so really appreciate you putting in the work to bring the syntax up to date. As far as the static vector, yes, that sounds like it could potentially improve performance so would be worth giving a try.

@jtramm jtramm merged commit 5744695 into jtramm:master Sep 24, 2020
@jtramm jtramm mentioned this pull request Sep 24, 2020
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