From 804ea847d4438f4cd30c8b86cf9852774e201870 Mon Sep 17 00:00:00 2001 From: OlivierHnt <38465572+OlivierHnt@users.noreply.github.com> Date: Wed, 20 Mar 2024 18:37:59 +0100 Subject: [PATCH] Fix multiplication operator with `SinFourier` --- src/sequence_spaces/symmetry.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sequence_spaces/symmetry.jl b/src/sequence_spaces/symmetry.jl index 37980115..de2ba570 100644 --- a/src/sequence_spaces/symmetry.jl +++ b/src/sequence_spaces/symmetry.jl @@ -690,7 +690,7 @@ _mult_domain_indices(s::CosFourier) = _mult_domain_indices(Chebyshev(order(s))) _isvalid(s::CosFourier, i::Int, j::Int) = _isvalid(Chebyshev(order(s)), i, j) _mult_domain_indices(s::SinFourier) = -order(s):order(s) -_isvalid(s::SinFourier, i::Int, j::Int) = (0 < abs(j)) & (0 < abs(i-j) ≤ order(s)) +_isvalid(s::SinFourier, i::Int, j::Int) = 0 < abs(i-j) ≤ order(s) # Norm