From 506929de2d504f8e6c2a24d967fcbd1beecd262f Mon Sep 17 00:00:00 2001 From: Andrew Gibbs Date: Thu, 8 Feb 2024 14:14:56 +0000 Subject: [PATCH] fixed get_quad_scales bug --- src/Galerkin_discretisation.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Galerkin_discretisation.jl b/src/Galerkin_discretisation.jl index 271227f..d867968 100644 --- a/src/Galerkin_discretisation.jl +++ b/src/Galerkin_discretisation.jl @@ -68,7 +68,7 @@ function discretise_Galerkin_block( Galerkin_matrix = zeros(ComplexF64,length(mesh1),length(mesh2)) # get quad scales - quad_scales = get_quad_scales(K.wavenumber, + quad_scales = get_quad_scales(abs(K.wavenumber), K.domain.spatial_dimension, mesh1, mesh2)