Skip to content

Commit

Permalink
Merge pull request #470 from Ferrite-FEM/kam/PlasticityExampleFix
Browse files Browse the repository at this point in the history
max(u...) -> maximum(u) in plasticity example
  • Loading branch information
KnutAM authored Jul 25, 2022
2 parents 2f86559 + 4c64ed4 commit 6b049b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/literate/plasticity.jl
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ function solve()
## Update the old states with the converged values for next timestep
states_old .= states

u_max[timestep] = max(abs.(u)...) # maximum displacement in current timestep
u_max[timestep] = maximum(abs.(u)) # maximum displacement in current timestep
end

## ## Postprocessing
Expand Down

0 comments on commit 6b049b2

Please sign in to comment.