Giter VIP home page Giter VIP logo

Comments (7)

SylvainCorlay avatar SylvainCorlay commented on June 12, 2024

Thanks for the report.

We would be interested in a fix, but presumably it would be interesting to include an i386 test in the CI if we want to catch these.

from xtensor-blas.

drew-parsons avatar drew-parsons commented on June 12, 2024

A pragmatic workaround could be to increase the test tolerance e.g. from 1e-18 to 1e-16 (as an example. I'm not certain what the effective tolerance here is). That could be done here using EXPECT_NEAR in place of EXPECT_DOUBLE_EQ.

from xtensor-blas.

SylvainCorlay avatar SylvainCorlay commented on June 12, 2024

Thanks!
Would you like to open a pull request?

from xtensor-blas.

drew-parsons avatar drew-parsons commented on June 12, 2024

I can do it. I'll need to investigate what tolerance i386 needs.
Well, I guess it's just 0.13757507429403265 - 0.13757507429403248 = 2e-16. (the effective tolerance of EXPECT_DOUBLE_EQ must be something like 1e-16)

from xtensor-blas.

drew-parsons avatar drew-parsons commented on June 12, 2024

Also affects armhf, confirming it's a 32-bit issue.
https://ci.debian.net/data/autopkgtest/testing/armhf/x/xtensor-blas/15977642/log.gz

from xtensor-blas.

drew-parsons avatar drew-parsons commented on June 12, 2024

armhf is a little coarser,
0.13757507429403265 - 0.13757507429403243 = 2.220446049250313e-16

from xtensor-blas.

drew-parsons avatar drew-parsons commented on June 12, 2024

Looks like 5e-16 is enough. i386 and armhf are both passing now with PR #212,
https://ci.debian.net/data/autopkgtest/testing/i386/x/xtensor-blas/15983027/log.gz
https://ci.debian.net/data/autopkgtest/testing/armhf/x/xtensor-blas/15982850/log.gz

Eventually test logs will appear at https://ci.debian.net/packages/x/xtensor-blas/

from xtensor-blas.

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.