Skip to content

Commit

Permalink
format and fix project.toml again
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-de-montserrat committed Jan 24, 2024
1 parent 3b27508 commit 37990ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ AMDGPU = "0.6, 0.7, 0.8"
Adapt = "3.7.2"
CUDA = "4.4.1, 5"
CellArrays = "0.1 "
GeoParams = "0.5.3, 0.5.4"
HDF5 = "0.17.1"
ImplicitGlobalGrid = "0.14.0"
MPI = "0.20"
Expand Down
4 changes: 2 additions & 2 deletions src/rheology/StressUpdate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ function _compute_τ_nonlinear!(
end

# fill plastic strain rate tensor
@generated function update_plastic_strain_rate!(ε_pl::NTuple{N, T}, λdQdτ, idx) where {N,T}
quote
@generated function update_plastic_strain_rate!(ε_pl::NTuple{N,T}, λdQdτ, idx) where {N,T}
quote
Base.@_inline_meta
Base.@nexprs $N i -> ε_pl[i][idx...] = !isinf(λdQdτ[i]) * λdQdτ[i]
end
Expand Down

0 comments on commit 37990ea

Please sign in to comment.