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

missing constructor BSplineSpace #335

Closed
hyrodium opened this issue Oct 4, 2023 · 0 comments · Fixed by #336
Closed

missing constructor BSplineSpace #335

hyrodium opened this issue Oct 4, 2023 · 0 comments · Fixed by #336

Comments

@hyrodium
Copy link
Owner

hyrodium commented Oct 4, 2023

julia> using BasicBSpline

julia> BSplineSpace{3}(knotvector"111111111111")
BSplineSpace{3, Int64, KnotVector{Int64}}(KnotVector([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]))

julia> BSplineSpace{3, Int64, KnotVector{Int64}}(KnotVector([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]))
ERROR: MethodError: no method matching BSplineSpace{3, Int64, KnotVector{Int64}}(::KnotVector{Int64})

Closest candidates are:
  BSplineSpace{p, T, K}(::BSplineSpace{p, T} where T<:Real) where {p, T, K}
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 a pull request may close this issue.

1 participant