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

Reserve Point for a Domain? #6

Closed
dlfivefifty opened this issue Sep 15, 2017 · 1 comment
Closed

Reserve Point for a Domain? #6

dlfivefifty opened this issue Sep 15, 2017 · 1 comment

Comments

@dlfivefifty
Copy link
Member

Defining const Point{N,T} = SVector{N,T} prevents the useful definition

struct Point{N,T} <: Domain{T}
  x::T
end
@dlfivefifty dlfivefifty mentioned this issue Sep 15, 2017
8 tasks
@daanhb
Copy link
Member

daanhb commented Sep 18, 2017

Makes sense for Point to be a domain, yes. The only goal of Point before was to abstract away the choice between SVector and other implementations of fixed size vectors. But we settle on SVector right now.

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

No branches or pull requests

2 participants