File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 178
178
Base. @_inline_meta
179
179
η = 0.0
180
180
Base. @nexprs $ N i -> ! isplastic (v[i]) && (η += inv (fn (v[i], II, args)))
181
- return η
181
+ return inv (η)
182
182
end
183
- end
183
+ end
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ using Test, GeoParams
17
17
@test η0 ==
18
18
compute_viscosity_εII (rheology, εII, args) ==
19
19
compute_viscosity_τII (rheology, τII, args)
20
- @test 1 (1 / η0 + 1 / el. G. val / dt) ==
20
+ @test 1 / (1 / η0 + 1 / el. G. val / dt) ==
21
21
compute_elastoviscosity_εII (rheology, εII, args) ==
22
22
compute_elastoviscosity_τII (rheology, τII, args)
23
23
@@ -61,7 +61,7 @@ using Test, GeoParams
61
61
@test η ==
62
62
compute_viscosity_τII (rheology, τII, args) ==
63
63
compute_viscosity_εII (rheology, εII, args)
64
- @test 1 (1 / η + 1 / el. G. val / dt) ==
64
+ @test 1 / (1 / η + 1 / el. G. val / dt) ==
65
65
compute_elastoviscosity_εII (rheology, εII, args) ==
66
66
compute_elastoviscosity_τII (rheology, τII, args)
67
67
end
You can’t perform that action at this time.
0 commit comments