Skip to content

Commit

Permalink
Fix show of plastic material
Browse files Browse the repository at this point in the history
  • Loading branch information
KnutAM authored Jun 26, 2024
1 parent 6b583a8 commit 3df53f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plastic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ function Base.show(io::IO, M::MIME"text/plain", m::Plastic)
println(io, "Kinematic hardening laws:")
foreach(kin->show(io, M, kin), m.kinematic)
end
if length(m.kinematic) == 1
if length(m.isotropic) == 1
print(io, "Isotropic hardening: ")
show(io, M, m.isotropic[1])
else
Expand Down

0 comments on commit 3df53f3

Please sign in to comment.