Can anyone help me out with TFFTReal? I seem to be having problems with the Init() function.
The class states the following:
I have been trying to run this as follows without success for the DCT-II option…
error: invalid conversion from ‘int’ to ‘const Int_t*’
error: initializing argument 3 of ‘virtual void TFFTReal::Init(const Option_t*, Int_t, const Int_t*)’
I have also tried:
const Int_t knd = 1;
Clearly I may be doing something daft, but nevertheless it would be great to have a simple working example showing how these functions are declared.
Any help will be greatly appreciated!
you need to pass a pointer to an int and not an int (this is because you can have different types for each dimension).
So in your case do
int kind = 1;