On Sunday 02 March 2008 08:18:05 pm Michael Barton wrote: > On Mar 2, 2008, at 7:40 PM, Dylan Beaudette wrote: > > On Sunday 02 March 2008, Michael Barton wrote: > >> On Mar 2, 2008, at 6:15 PM, Helena Mitasova wrote: > >>> This reminds me - was the patch below submitted to SVN? > >>> Do we have a procedure (dedicated person) for keeping > >>> track of patches submitted through track > >>> and making sure they get submitted if appropriate? > >>> > >>> This angle is also needed to derive pre-defined flow (e.g. > >>> ditches or pipes that are not in the DEM) as inputs into simwe - > >>> I used m.cogo for that but d.measure is much more convenient. > >>> > >>> Thanks for adding it, > >> > >> I just tried to check out any updates to d.measure and found that it > >> doesn't run on my Mac. It produces a bus error. I don't need it, but > >> folks should be aware of this. > >> > >> Michael > > > > I do not have access to a Mac, but the module seems to compile and > > run fine on > > Linux x86. > > > > Could it be the call to atan2() -- perhaps the math library is not > > accessed > > the same way on Mac OS X ? > > I don't know. It compiled fine. Just won't run. > > Michael
What happens if you replace the atan2() function call with something simpler, like a simple addition (obviously resulting bogus values). Just an idea Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
