Replies: 2 comments 4 replies
-
|
There was discussion in #2273 about those |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
If we can do it without violating the license of cephes, I'm all in favor of cutting down to exactly what we need. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The vendored Cephes library contains some math functions that are also in the default c runtime math libraries on Linux and Windows. Some of them that come to mind:
This leads to some unexpected behavior when linking GTSAM, the default math functions might actually be replaced by the Cephes versions, which might behave differently than the platform-defined functions and might be slower.
Some reasons why those functions might be replaced:
Note: When linking both GTSAM and the standard library statically, there should be "multiple definition" linker errors, i can at least confirm that on Windows.
Should this be fixed? I think the easiest fix right now would be to only build igami.c from cephes, or even copying this one file from Cephes instead of vendoring the whole library (if the license permits it).
Beta Was this translation helpful? Give feedback.
All reactions