From 4c64ed4c539188fbdade4dbdea0b0e829fd762e3 Mon Sep 17 00:00:00 2001 From: Knut Andreas Meyer Date: Mon, 25 Jul 2022 08:29:43 +0200 Subject: [PATCH] max(u...) -> maximum(u) --- docs/src/literate/plasticity.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/literate/plasticity.jl b/docs/src/literate/plasticity.jl index 289532856b..dd97b3cda6 100644 --- a/docs/src/literate/plasticity.jl +++ b/docs/src/literate/plasticity.jl @@ -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