Re: [GRASS-dev] strange mapcalc behavior again

2011-07-28 Thread Michael Barton
No I don't. It happens on different computers. But since I've compiled it, the problem could lie there. This is a fairly recent phenomenon or I would have reported it long ago. I don't know how recent, however, since I don't remember the other times I've tried to use an if statement like this (

Re: [GRASS-dev] strange mapcalc behavior again

2011-07-28 Thread Glynn Clements
Michael Barton wrote: > Somehow, the 2nd part of the if clause is being ignored. I've done > this in GRASS 6.5 and 7 with the same results (with the changed of > syntax needed for GRASS 7). Am I missing something here? If such a fundamental error existed in r.mapcalc itself, I'm fairly sure that

[GRASS-dev] strange mapcalc behavior again

2011-07-26 Thread Michael Barton
I wrote about this a week or two ago. I thought it was a fluke. But now it is happening again. I've attached an output graphic of a couple maps. The base map is of the Mediterranean Sea, called "oceans". The colored areas have a value of 1, the white have a value of null. Over this is a map cal