Commit 69960701 authored by Juan Ignacio Polanco's avatar Juan Ignacio Polanco

Fix method ambiguity

parent c7800ca6
......@@ -51,7 +51,7 @@ function galerkin_matrix(
galerkin_matrix!(S, B, deriv)
end
galerkin_matrix(B, ::Type{M}) where {M} =
galerkin_matrix(B::AnyBSplineBasis, ::Type{M}) where {M <: AbstractMatrix} =
galerkin_matrix(B, Derivative.((0, 0)), M)
allocate_galerkin_matrix(::Type{M}, N, etc...) where {M <: AbstractMatrix} =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment