From 62d3b6c7f1883b53af28be622c25d7c993a88b9d Mon Sep 17 00:00:00 2001 From: Carson Farmer <59753859+cfarm6@users.noreply.github.com> Date: Thu, 17 Aug 2023 10:16:33 -0400 Subject: [PATCH] fixed new struct creation --- src/isotropic_incompressible_models.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/isotropic_incompressible_models.jl b/src/isotropic_incompressible_models.jl index 09d152b..24de8db 100644 --- a/src/isotropic_incompressible_models.jl +++ b/src/isotropic_incompressible_models.jl @@ -828,7 +828,7 @@ W = \\sum\\limits_{i = 1}{3}\\sum\\limits_{j=0}^{N} A_j (\\lambda_i^{m_j}-1) + B > Bahreman M, Darijani H. New polynomial strain energy function; application to rubbery circular cylinders under finite extension and torsion. Journal of Applied Polymer Science. 2015 Apr 5;132(13). """ BahremanDarijani(type::T = PrincipalValueForm()) where {T<:PrincipalValueForm} = - new{PrincipalValueForm}(GeneralDarijaniNaghdabadi(type)) + BahremanDarijani{PrincipalValueForm}(GeneralDarijaniNaghdabadi(type)) function ContinuumMechanicsBase.StrainEnergyDensity( W::BahremanDarijani{T}, @@ -1657,7 +1657,7 @@ function ChevalierMarco(::T = PrincipalValueForm()) where {T<:Union{PrincipalVal L_b = size(b⃗, 1) return sum(@. b⃗ / I₂^(1:L_b)) end - new{T}(∂W∂I1, ∂W∂I2) + ChevalierMarco{T}(∂W∂I1, ∂W∂I2) end function ContinuumMechanicsBase.StrainEnergyDensity(