Hi,
I’ve got a very simple problem,
I am trying to rebin in THnSparse with the following code:
THnSparseD *fSparse = …
…
THnSparse *rebinned = fSparse->Rebin(bins);
fSparse->Reset();
fSparse = rebinned;
fSparse is fine but when I rebin the program brings up the following error:
invalid conversion from ‘THnSparse*’ to ‘THnSparseD*’
I can understand the problem but I cant see how to resolve it
thanks alot
Maki