Skip to content

Commit

Permalink
PiPoFft: fixed crash adding init of colnames with wrong outputmode
Browse files Browse the repository at this point in the history
  • Loading branch information
RiccardoBorghesi authored Feb 1, 2024
1 parent 67735e0 commit c728110
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/PiPoFft.h
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,12 @@ class PiPoFft : public PiPo
outputWidth = 1;
break;
}
default:
{
fftColNames[0] = "undefined";
fftColNames[1] = "undefined";
outputWidth = 0;
}
}

if(fftSize != this->fftSize || weightingMode != this->weightingMode)
Expand Down

0 comments on commit c728110

Please sign in to comment.