Commit 07783ed1 authored by Miroslav Kratochvil's avatar Miroslav Kratochvil
Browse files

improve guessing of smoment coupling size

parent 75c1fca1
Pipeline #54965 failed with stages
in 9 minutes and 31 seconds
......@@ -43,7 +43,7 @@ Internal helper for determining the number of required couplings to account for
"arm" reactions.
"""
_smoment_n_reaction_couplings(model::SMomentModel) =
isempty(model.columns) ? 0 : maximum(col.coupling_row for col in model.columns)
length(model.coupling_row_reaction)
"""
_smoment_reaction_coupling_bounds(model::SMomentModel)
......
Supports Markdown
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