<TFFTReal::Transform>: transform hasn't been initialised

Hello,

I am writing a simple script to do a 1D FFT. I have read the class page and looked for examples, but I have not seen anyone reporting this error.

I have tried different types for the input arrays, I have tried different transform options, and I have tried both regular and complex setpoints. I still get the same error, as in the title.

This is the part with the problem:

TVIrtualFFT* freq = TVIrtualFFT::FFT(1, &m, "DHT"); freq->SetPointsComplex(svolts,svoltsc) freq->Transform();

I also tried adding TVirtualFFT::SetTransform(0); in several places with no improvement.

I am using this with CINT. What do I need to do to make it work?