Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiManyer committed Dec 13, 2024
1 parent 4563876 commit cc769ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/BlockSolvers/StaggeredFEOperators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ struct StaggeredAffineFEOperator{NB,SB} <: StaggeredFEOperator{NB,SB}
liforms :: Vector{<:Function},
trials :: Vector{<:FESpace},
tests :: Vector{<:FESpace},
assems :: Vector{<:Assembler} = map(SparseMatrixAssembler,tests,trials)
assems :: Vector{<:Assembler} = map(SparseMatrixAssembler,trials,tests)
)
@assert length(biforms) == length(liforms) == length(trials) == length(tests) == length(assems)
trial = combine_fespaces(trials)
Expand Down Expand Up @@ -257,7 +257,7 @@ struct StaggeredNonlinearFEOperator{NB,SB} <: StaggeredFEOperator{NB,SB}
jac :: Vector{<:Function},
trials :: Vector{<:FESpace},
tests :: Vector{<:FESpace},
assems :: Vector{<:Assembler} = map(SparseMatrixAssembler,tests,trials)
assems :: Vector{<:Assembler} = map(SparseMatrixAssembler,trials,tests)
)
@assert length(res) == length(jac) == length(trials) == length(tests) == length(assems)
trial = combine_fespaces(trials)
Expand Down

0 comments on commit cc769ac

Please sign in to comment.