Skip to content

Commit

Permalink
correct syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
aelligp committed Oct 18, 2024
1 parent 6d679e2 commit 035fe07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Permeability/Permeability.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ using Parameters, Unitful, LaTeXStrings, MuladdMacro
using ..Units
using ..PhaseDiagrams
using GeoParams: AbstractMaterialParam, AbstractMaterialParamsStruct, @extractors, add_extractor_functions
using GeoParams: fastpow, pow_check, @pow, @fastpow
using GeoParams: fastpow, pow_check, @pow
import ..Units: isdimensional
using ..MaterialParameters: No_MaterialParam, MaterialParamsInfo
import Base.show, GeoParams.param_info
Expand Down Expand Up @@ -133,7 +133,7 @@ function (s::PowerLawPermeability{_T})(; ϕ=1e-2, kwargs...) where {_T}
@unpack_val c, k0, n = s
end

return @fastpow c * k0 * ϕ^n
return c * k0 * fastpow(ϕ,n)
end

@inline (s::PowerLawPermeability)(args) = s(; args...)
Expand Down

0 comments on commit 035fe07

Please sign in to comment.