← Back to team overview

dolfin team mailing list archive

Re: DefaultParameters.h

 

On Fri, Mar 24, 2006 at 07:01:44PM +0100, Garth N. Wells wrote:
> Another problem is in DefaultParameters.h. Throughout the code, I've had
> to include header files for Standard Template Library. In
> DefaultParameters.h I get the error mesage
> 
> /dolfin/DefaultParameters.h(57): error: namespace "std" has no member
> "numeric_limits"
>   add("homotopy maximum size", std::numeric_limits<int>::max());
>                                     ^
> 
> ./dolfin/DefaultParameters.h(57): error: type name is not allowed
>   add("homotopy maximum size", std::numeric_limits<int>::max());
> 
> but if I add #include<limits> I then get a whole bunch of other errors.
> 
> Garth

Where did you include <limits>? In ParameterSystem.cpp?

/Anders



Follow ups

References