<div>Hi,</div><div><br></div><div> I have a question about adouble class. Are dynamic multidimensional array's valid as adouble ? I did something like: </div><div><br></div><div><br></div><div> adouble** u = (adouble**)malloc(nfe*sizeof(adouble**));</div>
<div> for(i = 0; i<nfe; i++)</div><div> u[i] = (adouble*)malloc(m*sizeof(adouble*));</div><div><br></div><div>And when I try to access u[0][0], I get a segmentation fault. Is this not allowed ? </div><div><br></div>
<div>Thanks,</div><div><br></div><div>Rishi</div>