std::numeric_limits

Thanks - looking at that snippet made me realize I was switched around - I was setting minx = DBL_MIN and maxx = DBL_MAX.

With that fixed, it works fine.

I agree this might be a good thing to change in CVS, since this is the only thing tripping up a clean compile with gcc 2.95.

Trevor

···

-----Original Message-----
From: matplotlib-users-admin@lists.sourceforge.net
[mailto:matplotlib-users-admin@lists.sourceforge.net]On Behalf Of
Sebastian Haase
[...]
Hi Trevor,
I just substituted like this

if (ignore) {
   minx = 1e+308; //orig: std::numeric_limits<double>::max();
   maxx = 1e-308; //orig: std::numeric_limits<double>::min();
}

and didn't have any problem.