On Tue, 2014-01-21 at 19:00 +0100, Robert C. Helling wrote: > On 21 Jan 2014, at 18:36, Dirk Hohndel <d...@hohndel.org> wrote: > > Dirk, > > > But given where min and max come from, we know that they are either > > identical, or at least 0.1 apart. So a division will ONLY create a NaN > > if they are identical. > > this is in the abstract axis code, so it is used for all kinds of graphs. > Next time we might be plotting partial pressures in bar so the 0.1 assumption > could fail there. > > Will look into floating point specification and come back with this.
Sorry, Robert. Yes, it might be 0.01 - or maybe even 0.001. But we don't do anything in graphs that has a resolution anywhere close where 1 / size is going to be NaN unless min and max are identical. /D _______________________________________________ subsurface mailing list subsurface@hohndel.org http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface