Skip to content

Commit

Permalink
maximum(abs.(u))->maximum(abs,u), ref #470
Browse files Browse the repository at this point in the history
  • Loading branch information
KnutAM authored Aug 30, 2022
1 parent ec46db1 commit c60b89e
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] = maximum(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 c60b89e

Please sign in to comment.