I am working on a simulation program that requires a large amount of variables in an array, such as:
int Testp = 64;
int taustp = 4096;
float *sigma = new float[(Testp+1)*(taustp+1)*sizeof(float)];
and then when I assign sigma later, I get a Segmentation Fault. This only happens when my index reaches about 16,000. Do I need to declare my indices somehow as a Long?