changeset 1722:1dd64b46ca2a feature/lazy_tensors/sparse_conversions

Fix types used for boundary identifiers in tests
author Vidar Stiernström <vidar.stiernstrom@gmail.com>
date Thu, 05 Sep 2024 08:38:01 -0700
parents 7379f492c4b3
children 7274ec5050a0
files test/ext/sparse_array_kit_test.jl test/ext/sparse_arrays_test.jl
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/ext/sparse_array_kit_test.jl	Thu Sep 05 08:31:03 2024 -0700
+++ b/test/ext/sparse_array_kit_test.jl	Thu Sep 05 08:38:01 2024 -0700
@@ -25,7 +25,7 @@
         @test Mv ≈ Δ*v
     end
 
-    @testset let dₙ = normal_derivative(g, stencil_set,CartesianBoundary{1,Lower}()), M = SparseArray(dₙ)
+    @testset let dₙ = normal_derivative(g, stencil_set,CartesianBoundary{1,LowerBoundary}()), M = SparseArray(dₙ)
         @test ndims(M) == 3
         @test size(M) == (30,20,30)
 
--- a/test/ext/sparse_arrays_test.jl	Thu Sep 05 08:31:03 2024 -0700
+++ b/test/ext/sparse_arrays_test.jl	Thu Sep 05 08:38:01 2024 -0700
@@ -24,7 +24,7 @@
         @test Mv ≈ reshape(Δ*v,:)
     end
 
-    @testset let dₙ = normal_derivative(g, stencil_set,CartesianBoundary{1,Lower}()), M = sparse(dₙ)
+    @testset let dₙ = normal_derivative(g, stencil_set,CartesianBoundary{1,LowerBoundary}()), M = sparse(dₙ)
         @test ndims(M) == 2
         @test size(M) == (30,20*30)