diff src/SbpOperators/volumeops/derivatives/second_derivative_variable.jl @ 937:025a506ca2fa feature/variable_derivatives

Fix dispatch bug for 1D grids
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 02 Mar 2022 10:54:39 +0100
parents 863287577ad4
children b15f39ae1643
line wrap: on
line diff
--- a/src/SbpOperators/volumeops/derivatives/second_derivative_variable.jl	Tue Feb 22 07:24:22 2022 +0100
+++ b/src/SbpOperators/volumeops/derivatives/second_derivative_variable.jl	Wed Mar 02 10:54:39 2022 +0100
@@ -27,7 +27,7 @@
     return SecondDerivativeVariable{dir, dimension(grid)}(scaled_inner_stencil, scaled_closure_stencils, size(grid), coeff)
 end
 
-function SecondDerivativeVariable(grid::EquidistantGrid{1}, coeff::AbstractVector, inner_stencil, closure_stencils)
+function SecondDerivativeVariable(grid::EquidistantGrid{1}, coeff::AbstractVector, inner_stencil::NestedStencil, closure_stencils)
     return SecondDerivativeVariable(grid, coeff, inner_stencil, closure_stencils, 1)
 end