Skip to content

Commit

Permalink
max(u...) -> maximum(u)
Browse files Browse the repository at this point in the history
  • Loading branch information
KnutAM authored Jul 25, 2022
1 parent 2f86559 commit 4c64ed4
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 4c64ed4

Please sign in to comment.