Mercurial > repos > public > sbplib_julia
diff test/SbpOperators/volumeops/derivatives/second_derivative_test.jl @ 1043:c16116e403e2
Merge refactor/lazy_tensors
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 22 Mar 2022 14:33:13 +0100 |
parents | 7fc8df5157a7 |
children | f1bb1b6d85dd |
line wrap: on
line diff
--- a/test/SbpOperators/volumeops/derivatives/second_derivative_test.jl Tue Mar 22 14:14:31 2022 +0100 +++ b/test/SbpOperators/volumeops/derivatives/second_derivative_test.jl Tue Mar 22 14:33:13 2022 +0100 @@ -27,10 +27,10 @@ @testset "2D" begin Dₓₓ = second_derivative(g_2D,inner_stencil,closure_stencils,1) D2 = second_derivative(g_1D,inner_stencil,closure_stencils,1) - I = IdentityMapping{Float64}(size(g_2D)[2]) + I = IdentityTensor{Float64}(size(g_2D)[2]) @test Dₓₓ == D2⊗I @test Dₓₓ == second_derivative(g_2D,stencil_set,1) - @test Dₓₓ isa TensorMapping{T,2,2} where T + @test Dₓₓ isa LazyTensor{T,2,2} where T end end