GithubHelp home page GithubHelp logo

Comments (5)

svigerske avatar svigerske commented on August 23, 2024

Comment by lorenz created at 2010-09-29 07:25:20

What I forgot to mention:

  • OS: Ubuntu 10.04 (Linux 2.6.32-24-generic-pae)

from adol-c.

svigerske avatar svigerske commented on August 23, 2024

Comment by @kkulshre created at 2010-10-01 12:54:12

We need to look into this for the long run and define these selectively for certain compilers, but for the short run you may use either one of the following two workarounds:

  1. use any one of -ansi or -std=c90 switches in your compiler commands. Then gcc does not define fmin and fmax of its own.
  2. remove the fmin(const double&, const double&) declaration and defintions from your copy of adouble.h

from adol-c.

svigerske avatar svigerske commented on August 23, 2024

Comment by @kkulshre created at 2010-10-01 15:24:22

Please try using the svn trunk revision 169 of adolc

svn co https://projects.coin-or.org/svn/ADOL-C/trunk adolc_trunk

Your little program from above is also included as adolc_trunk/ADOL-C/tests/fminmax.cpp

Hopefully this will get rid of the problem in a portable way.

from adol-c.

svigerske avatar svigerske commented on August 23, 2024

Comment by lorenz created at 2010-10-01 19:40:54

Okay, it's fixed in trunk, and the example compiles without any problems. Thank you.

from adol-c.

svigerske avatar svigerske commented on August 23, 2024

Comment by @awalther1 created at 2010-10-07 09:26:06

Resolution: fixed

from adol-c.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.