[GRASS5] r.contour crashes if step=0.5

Markus Neteler neteler at geog.uni-hannover.de
Sat Jan 27 06:34:15 EST 2001


Hi developers,

r.contour crashes if step=0.5... Floating point exception.
I actually cannot see the problem. The offending line is a macro:

  dmax = (max->answer) ? atof (max->answer) : zmax - (int)zmax%(int)dstep;

dstep contains 0.5, zmax is determined my the program zmax=7.1231 here).

Thanks in advance

 Markus

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list