From 5040c7377323c96f2db3196715b3cb80d2494b6f Mon Sep 17 00:00:00 2001 From: Luke Adams Date: Sun, 5 Nov 2023 07:21:37 -0700 Subject: [PATCH] fix typos --- src/grids/uniform_cartesian_grid.jl | 2 +- test/aqua_test.jl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/grids/uniform_cartesian_grid.jl b/src/grids/uniform_cartesian_grid.jl index 693ca40..45ceff4 100644 --- a/src/grids/uniform_cartesian_grid.jl +++ b/src/grids/uniform_cartesian_grid.jl @@ -19,7 +19,7 @@ end return (grid.upper_bounds .- grid.lower_bounds) ./ grid.num_cells end -# TODO: inline this function once the offsets become singltons, and this +# TODO: inline this function once the offsets become singletons, and this # function becomes performant function cell_coords_to_phys_coords( grid::UniformCartesianGrid{D}, diff --git a/test/aqua_test.jl b/test/aqua_test.jl index adb3271..219b0b2 100644 --- a/test/aqua_test.jl +++ b/test/aqua_test.jl @@ -1,9 +1,9 @@ @testitem "Aqua" tags = [:basics] begin using Aqua # The unbound_args test currently has a false positive, because it thinks the grid - # might be zero dimensional, in wich case T and U would be unbound. This could be + # might be zero dimensional, in which case T and U would be unbound. This could be # fixed by using a construction like Tuple{T, Vararg{T, D1}} where D1 = D-1, but - # this is annoying becasue I want the value of D as a type parameter in several + # this is annoying because I want the value of D as a type parameter in several # places. For now, I have just disabled the test. Aqua.test_all(ParticleInCell2, unbound_args = false) end