From: Jan S. <jsc...@un...> - 2007-03-21 16:06:55
|
Hello, i had a segmentation fault due to long recursion of a function. Actually that was an programming error on my side but this should not result in a segmentation fault. I could reproduce the problem with this function: iter( x , i ) =3D (i =3D=3D 0) ? x : iter( x/2. , i-1 ) calling iter(.) with a noninteger i makes the i=3D=3D0 test never true ..= =2E ------------------------------------------------------------ Dr. Jan H. Schween Inst. f. Geophysics and Meteorology Z=FClpicher Str. 49a 50674 Koeln Germany +49 (0)221 470 17 76 (fax ... 5161) jsc...@un... ------------------------------------------------------------ |