Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
takenori-y committed Dec 5, 2023
1 parent f9204b4 commit d837ec8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ MelGeneralizedLineSpectralPairsToSpectrum::
fft_length_(fft_length),
is_valid_(true) {
if (num_order_ < 0 || !sptk::IsValidAlpha(alpha_) ||
!sptk::IsValidGamma(gamma_) || fft_length_ <= 0) {
!sptk::IsValidGamma(gamma_) || 0.0 <= gamma_ || fft_length_ <= 0) {
is_valid_ = false;
return;
}
Expand Down

0 comments on commit d837ec8

Please sign in to comment.