Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Plans to move to StaticArrays? #66

Closed
jw3126 opened this issue Sep 27, 2016 · 6 comments
Closed

Plans to move to StaticArrays? #66

jw3126 opened this issue Sep 27, 2016 · 6 comments

Comments

@jw3126
Copy link
Contributor

jw3126 commented Sep 27, 2016

Since FixedSizeArrays will get replaced by StaticArrays are there plans to port GeometryTypes.jl to StaticArrays?

@SimonDanisch
Copy link
Member

Sorry, I moved this quite low on my current priority list.
Although, I tried lately to make a quick move, but noticed that StaticArrays doesn't allow me to inherit from it to create new types. Am I overlooking something, @andyferris?

@andyferris
Copy link

Hmm? It should be easy to inherit from StaticArray. What issues are you having, Simon? (You must define size on the type and a constructor that accepts a tuple).

@andyferris
Copy link

If you look at the files in StaticArraays which introduce new types you should get a good idea. For instance see Point in the FixedSizeArrays submodule to StaticArrays.

@SimonDanisch
Copy link
Member

Lol.... okay very good, I thought it was possible :) Not sure in what state of mind I revoked that and decided that it wasn't possible :P

@andyferris
Copy link

Ok you had me worried that something was broken :). Carry on.

@SimonDanisch
Copy link
Member

will be fixed on tag: JuliaLang/METADATA.jl#9608

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants