Skip to content

Commit 545d53b

Browse files
Bump crate-ci/typos from 1.35.7 to 1.37.0 (#187)
* Bump crate-ci/typos from 1.35.7 to 1.37.0 Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.35.7 to 1.37.0. - [Release notes](https://github.com/crate-ci/typos/releases) - [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md) - [Commits](crate-ci/typos@v1.35.7...v1.37.0) --- updated-dependencies: - dependency-name: crate-ci/typos dependency-version: 1.37.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Fix typos --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Huiyu Xie <huiyuxie.sde@gmail.com>
1 parent f5a1a44 commit 545d53b

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.github/workflows/SpellCheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ jobs:
1111
uses: actions/checkout@v5
1212

1313
- name: Run Typo and Spelling Check
14-
uses: crate-ci/typos@v1.35.7
14+
uses: crate-ci/typos@v1.37.0
1515
with:
1616
config: .typos.toml # Specify the custom configuration file

src/solvers/dg.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
@inline function wrap_array(u_ode::AbstractGPUArray, mesh::AbstractMesh, equations,
1515
dg::DG, cache)
1616
# We skip bounds checking here for better performance.
17-
# @assert length(u_ode) == nvariables(euqations) * nnodes(mesh) * nelements(dg, cache)
17+
# @assert length(u_ode) == nvariables(equations) * nnodes(mesh) * nelements(dg, cache)
1818

1919
reshape(u_ode, nvariables(equations), ntuple(_ -> nnodes(dg), ndims(mesh))...,
2020
nelements(dg, cache))
@@ -24,7 +24,7 @@ end
2424
@inline function wrap_array_native(u_ode::AbstractGPUArray, mesh::AbstractMesh, equations,
2525
dg::DG, cache)
2626
# We skip bounds checking here for better performance.
27-
# @assert length(u_ode) == nvariables(euqations) * nnodes(mesh) * nelements(dg, cache)
27+
# @assert length(u_ode) == nvariables(equations) * nnodes(mesh) * nelements(dg, cache)
2828

2929
unsafe_wrap(CuArray{eltype(u_ode), ndims(mesh) + 2}, pointer(u_ode),
3030
(nvariables(equations), ntuple(_ -> nnodes(dg), ndims(mesh))...,

src/solvers/dg_1d_kernel.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ function volume_flux_integral_dgfv_kernel!(du, u, alpha, atol, derivative_split,
424424
@inbounds begin
425425
# Initialize `du` with zeros
426426
shmem_value[tx, ty] = zero(eltype(du))
427-
# Initialize `fstar` side columes with zeros
427+
# Initialize `fstar` side columns with zeros
428428
shmem_fstar1[tx, 1] = zero(eltype(du))
429429
shmem_fstar1[tx, tile_width + 1] = zero(eltype(du))
430430
end
@@ -615,11 +615,11 @@ function volume_flux_integral_dgfv_kernel!(du, u, alpha, atol, derivative_split,
615615

616616
# TODO: Remove shared memory for `fstar` and use local memory
617617

618-
# Initialize `fstar` side columes with zeros (1: left)
618+
# Initialize `fstar` side columns with zeros (1: left)
619619
shmem_fstar1[tx, 1, 1] = zero(eltype(du))
620620
shmem_fstar1[tx, tile_width + 1, 1] = zero(eltype(du))
621621

622-
# Initialize `fstar` side columes with zeros (2: right)
622+
# Initialize `fstar` side columns with zeros (2: right)
623623
shmem_fstar1[tx, 1, 2] = zero(eltype(du))
624624
shmem_fstar1[tx, tile_width + 1, 2] = zero(eltype(du))
625625
end

src/solvers/dg_2d_kernel.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ function volume_flux_integral_dgfv_kernel!(du, u, alpha, atol, derivative_split,
542542
@inbounds begin
543543
# Initialize `du` with zeros
544544
shmem_value[tx, ty1, ty2] = zero(eltype(du))
545-
# Initialize `fstar` side columes with zeros
545+
# Initialize `fstar` side columns with zeros
546546
shmem_fstar1[tx, 1, ty2] = zero(eltype(du))
547547
shmem_fstar1[tx, tile_width + 1, ty2] = zero(eltype(du))
548548
shmem_fstar2[tx, ty1, 1] = zero(eltype(du))
@@ -818,13 +818,13 @@ function volume_flux_integral_dgfv_kernel!(du, u, alpha, atol, derivative_split,
818818

819819
# TODO: Remove shared memory for `fstar` and use local memory
820820

821-
# Initialize `fstar` side columes with zeros (1: left)
821+
# Initialize `fstar` side columns with zeros (1: left)
822822
shmem_fstar1[tx, 1, ty2, 1] = zero(eltype(du))
823823
shmem_fstar1[tx, tile_width + 1, ty2, 1] = zero(eltype(du))
824824
shmem_fstar2[tx, ty1, 1, 1] = zero(eltype(du))
825825
shmem_fstar2[tx, ty1, tile_width + 1, 1] = zero(eltype(du))
826826

827-
# Initialize `fstar` side columes with zeros (2: right)
827+
# Initialize `fstar` side columns with zeros (2: right)
828828
shmem_fstar1[tx, 1, ty2, 2] = zero(eltype(du))
829829
shmem_fstar1[tx, tile_width + 1, ty2, 2] = zero(eltype(du))
830830
shmem_fstar2[tx, ty1, 1, 2] = zero(eltype(du))
@@ -905,7 +905,7 @@ end
905905

906906
# Kernel for prolonging two interfaces
907907
function prolong_interfaces_kernel!(interfaces_u, u, neighbor_ids, orientations,
908-
euqations::AbstractEquations{2})
908+
equations::AbstractEquations{2})
909909
j = (blockIdx().x - 1) * blockDim().x + threadIdx().x
910910
k = (blockIdx().y - 1) * blockDim().y + threadIdx().y
911911

src/solvers/dg_3d_kernel.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ function volume_flux_integral_dgfv_kernel!(du, u, alpha, atol, derivative_split,
647647
@inbounds begin
648648
# Initialize `du` with zeros
649649
shmem_value[tx, ty1, ty2, ty3] = zero(eltype(du))
650-
# Initialize `fstar` side columes with zeros
650+
# Initialize `fstar` side columns with zeros
651651
shmem_fstar1[tx, 1, ty2, ty3] = zero(eltype(du))
652652
shmem_fstar1[tx, tile_width + 1, ty2, ty3] = zero(eltype(du))
653653
shmem_fstar2[tx, ty1, 1, ty3] = zero(eltype(du))
@@ -1005,15 +1005,15 @@ function volume_flux_integral_dgfv_kernel!(du, u, alpha, atol, derivative_split,
10051005

10061006
# TODO: Remove shared memory for `fstar` and use local memory
10071007

1008-
# Initialize `fstar` side columes with zeros (1: left)
1008+
# Initialize `fstar` side columns with zeros (1: left)
10091009
shmem_fstar1[tx, 1, ty2, ty3, 1] = zero(eltype(du))
10101010
shmem_fstar1[tx, tile_width + 1, ty2, ty3, 1] = zero(eltype(du))
10111011
shmem_fstar2[tx, ty1, 1, ty3, 1] = zero(eltype(du))
10121012
shmem_fstar2[tx, ty1, tile_width + 1, ty3, 1] = zero(eltype(du))
10131013
shmem_fstar3[tx, ty1, ty2, 1, 1] = zero(eltype(du))
10141014
shmem_fstar3[tx, ty1, ty2, tile_width + 1, 1] = zero(eltype(du))
10151015

1016-
# Initialize `fstar` side columes with zeros (2: right)
1016+
# Initialize `fstar` side columns with zeros (2: right)
10171017
shmem_fstar1[tx, 1, ty2, ty3, 2] = zero(eltype(du))
10181018
shmem_fstar1[tx, tile_width + 1, ty2, ty3, 2] = zero(eltype(du))
10191019
shmem_fstar2[tx, ty1, 1, ty3, 2] = zero(eltype(du))

0 commit comments

Comments
 (0)