Mercurial > repos > public > sbplib_julia
changeset 1929:c5affb342e73 feature/grids/manifolds
Remove implementation of Base.size for CartesianAtlas
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 07 Feb 2025 09:14:43 +0100 |
parents | 96b3e9c516fe |
children | e985eaa20ecf |
files | src/Grids/manifolds.jl test/Grids/manifolds_test.jl |
diffstat | 2 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Grids/manifolds.jl Fri Feb 07 09:12:41 2025 +0100 +++ b/src/Grids/manifolds.jl Fri Feb 07 09:14:43 2025 +0100 @@ -63,7 +63,6 @@ end charts(a::CartesianAtlas) = a.charts -Base.size(a::CartesianAtlas) = size(a.charts) function connections(a::CartesianAtlas) c = Tuple{MultiBlockBoundary, MultiBlockBoundary}[]
--- a/test/Grids/manifolds_test.jl Fri Feb 07 09:12:41 2025 +0100 +++ b/test/Grids/manifolds_test.jl Fri Feb 07 09:14:43 2025 +0100 @@ -28,11 +28,6 @@ c2 = Chart(x->2x, unitsquare()) @test CartesianAtlas([c c2; c2 c]) isa CartesianAtlas - @testset "size" begin - @test size(CartesianAtlas([c c; c c])) == (2,2) - @test size(CartesianAtlas([c c c; c c c])) == (2,3) - @test size(CartesianAtlas([c c; c c; c c])) == (3,2) - end @testset "connections" begin a = CartesianAtlas(fill(c, 2,3))