Giter VIP home page Giter VIP logo

Comments (8)

syclik avatar syclik commented on May 24, 2024

original author: goodrich.ben

Thank you for this report. What version of what C++ compiler were you using?

from stan.

syclik avatar syclik commented on May 24, 2024

original author: normvcr

gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-redhat-linux/4.7.2/lto-wrapper
Target: i686-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --disable-build-with-cxx --disable-build-poststage1-with-cxx --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch=i686 --build=i686-redhat-linux
Thread model: posix
gcc version 4.7.2 20120921 (Red Hat 4.7.2-2) (GCC)

from stan.

syclik avatar syclik commented on May 24, 2024

Project Member [email protected]

Is this the only unit test that failed? If so, it's easy to fix by changing the significant digits on the test, which indeed seems to be the main issue.

The compilers do vary in basic arithmetic operations.

Ben -- did you want to run some tests under linux to see if you can recreate the test failure?

from stan.

syclik avatar syclik commented on May 24, 2024

goodrich.ben

It passes for me (Debian) with g++ 4.7.x and clang 3.1.x, so I would say to just relax the test.

from stan.

syclik avatar syclik commented on May 24, 2024

normvcr

This was the only test that failed.
I suppose it is a source code change to relax the test.
I am happy to test an update when it is ready.
Thanks for checking into this.

from stan.

syclik avatar syclik commented on May 24, 2024

[email protected]

Thanks for the update. We'll fix it in the next release. I'll close this issue with the Git hash code for the commit that fixes it. Your report's enough for the fix.

from stan.

syclik avatar syclik commented on May 24, 2024

Migrated from google code: http://code.google.com/p/stan/issues/detail?id=70

from stan.

syclik avatar syclik commented on May 24, 2024

I'm closing this issue -- we must have fixed it with one of our patches.

from stan.

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.