Giter VIP home page Giter VIP logo

Comments (4)

dasmdasm avatar dasmdasm commented on June 3, 2024 1

Ah, oops. We should have called that std::isinf. A fix is on the way.

from differential-privacy.

miguelagt avatar miguelagt commented on June 3, 2024

Hey uishi:

I work at Google with dasmdasm. I was wondering if I can have a chat with you to learn more about your usage of the library. We are looking for stories of our users to understand more about its usage.

If you're open to a chat, let me know how can I reach you.

Best

from differential-privacy.

devansh1305 avatar devansh1305 commented on June 3, 2024

Hey I am also getting the same error

bash_prompt:~/differential-privacy/cc$ sudo bazel build ...
INFO: Analyzed 56 targets (0 packages loaded, 0 targets configured).
INFO: Found 56 targets...
ERROR: /home/user/differential-privacy/cc/algorithms/BUILD:37:8: C++ compilation of rule '//algorithms:algorithm_test' failed (Exit 1) gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer '-std=c++0x' -MD -MF ... (remaining 76 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from ./algorithms/algorithm.h:27:0,
                 from algorithms/algorithm_test.cc:17:
./algorithms/numerical-mechanisms.h: In member function 'double differential_privacy::GaussianMechanism::CalculateDelta(double, double)':
./algorithms/numerical-mechanisms.h:517:9: error: 'isinf' was not declared in this scope
     if (isinf(b)) {
         ^~~~~
./algorithms/numerical-mechanisms.h:517:9: note: suggested alternative:
In file included from external/com_google_absl/absl/hash/internal/hash.h:24:0,
                 from external/com_google_absl/absl/hash/hash.h:73,
                 from external/com_google_absl/absl/container/internal/hash_function_defaults.h:55,
                 from external/com_google_absl/absl/container/node_hash_map.h:45,
                 from ./base/status.h:26,
                 from ./algorithms/algorithm.h:26,
                 from algorithms/algorithm_test.cc:17:
/usr/include/c++/7/cmath:612:5: note:   'std::isinf'
     isinf(_Tp __x)
     ^~~~~
INFO: Elapsed time: 3.169s, Critical Path: 2.98s
INFO: 9 processes: 9 linux-sandbox.
FAILED: Build did NOT complete successfully

I found this thread here, maybe it may be of some help...
https://github.com/facebookresearch/Starspace/issues/34#issuecomment-329561079

from differential-privacy.

dasmdasm avatar dasmdasm commented on June 3, 2024

This was fixed with 0b0a5c2

from differential-privacy.

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.