Skip to content

Commit

Permalink
Fix multiplication operator with SinFourier
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierHnt committed Mar 20, 2024
1 parent 63c2136 commit 804ea84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sequence_spaces/symmetry.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 804ea84

Please sign in to comment.