We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 334bace commit 202eea2Copy full SHA for 202eea2
Project.toml
@@ -30,8 +30,8 @@ ColorSchemes = "3.25"
30
Enzyme = "0.13"
31
JLD2 = "0.6"
32
JSOSolvers = "0.14.1"
33
-Lux = "1.21"
34
-MAT = "0.10"
+Lux = "1.26"
+MAT = "0.11"
35
MLUtils = "0.4.8"
36
MadNLP = "0.8"
37
Makie = "0.24"
src/core/friction.jl
@@ -125,10 +125,10 @@ end #}}}
125
m = GetInputValue(friction.m_input, gauss, i)
126
vmag = VelMag(friction, gauss, i)
127
128
- if vmag==0.0 && m<1.0
+ if vmag==0.0 && (1.0/m)<1.0
129
return 0.0
130
else
131
- return c^2*vmag^(m-1)
+ return c^2*vmag^(1.0/m-1.0)
132
end
133
end#}}}
134
@inline function Alpha2(friction::CoreSchoofFriction, gauss::GaussTria, i::Int64) #{{{
0 commit comments