Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiManyer committed Apr 2, 2024
1 parent 1026b3f commit f080df6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ChainRules/StateMaps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ get_state(::AbstractFEStateMap) = @abstractmethod
get_measure(::AbstractFEStateMap) = @abstractmethod
get_spaces(::AbstractFEStateMap) = @abstractmethod
get_assemblers(::AbstractFEStateMap) = @abstractmethod

get_trial_space(m::AbstractFEStateMap) = get_spaces(m)[1]
get_test_space(m::AbstractFEStateMap) = get_spaces(m)[2]
get_aux_space(m::AbstractFEStateMap) = get_spaces(m)[3]
Expand Down Expand Up @@ -174,7 +175,7 @@ struct AffineFEStateMap{A,B,C,D,E,F} <: AbstractFEStateMap
Optional arguments enable specification of assemblers and linear solvers.
"""
function AffineFEStateMap(
function AffineFEStateMap(
a::Function,l::Function,
U,V,V_φ,φh,dΩ...;
assem_U = SparseMatrixAssembler(U,V),
Expand Down

0 comments on commit f080df6

Please sign in to comment.