Hi,
i want to project a 5 dimensions THnSparse into a 3 dimensions THnSparse: The code i used is:
THnSparseD *h_obs;
THnSparseD *h_obs_proj;
int ndim =3;
int dim[3]; // i select the three axis i want to project
dim[0]=0; dim[1]=1; dim[2]=4;
h_obs_proj = (THnSparseD*) h_obs -> Projection(ndim, dim,"E");
where h_obs is the 5D THnSparseD.
This code does segmentation fault but i don't know why.
Thanks,
Davide
Received on Wed Feb 03 2010 - 18:25:20 CET
This archive was generated by hypermail 2.2.0 : Wed Feb 03 2010 - 23:50:01 CET