Commit Graph

16121 Commits (1bed89e9429a5cff20232836a9af2093690f8441)

Author SHA1 Message Date
Lawrence Ibarria 1bed89e942 Allow override of BUILD_SHARED_LIBS
The cmake option BUILD_SHARED_LIBS is a cmake built-in option
to control if libraries are by default SHARED or STATIC.

For large projects, it is desired to be able to design gtsam as a
shared or static library regardless of the value of BUILD_SHARED_LIBS.
This change is unobtrusive, two new cmake options are created, to
force gtsam to be a shared or static library. If neither option is
set (this is the default), the behavior of gtsam remains unchanged
which is to use BUILD_SHARED_LIBS decision.
2023-02-12 13:29:30 -08:00
Frank Dellaert 16bffa645f
Merge pull request #1456 from borglab/fix/warnings
Fixed warnings that arise from stricter compiler flags
2023-02-12 07:03:08 -08:00
Frank Dellaert 72cdcf8ce3
Merge pull request #1453 from keevindoherty/hotfix/sumproduct
Add normalization to sum-product, avoiding underflow.
2023-02-11 22:46:50 -08:00
Frank Dellaert 598582087f Remove more redundant virtual destructors 2023-02-11 22:46:16 -08:00
Frank Dellaert 87cfb25635 Fix whitespace 2023-02-11 22:45:37 -08:00
Frank Dellaert 9e460d26eb Fix TBB compilation issue 2023-02-11 22:45:15 -08:00
Kevin 92443f5378 Simply sum-product test in Python. 2023-02-11 20:04:43 -05:00
Kevin 9fa2d30362 Test sum-product in discrete factor graph up to scale. 2023-02-11 20:00:26 -05:00
Kevin 70fa568131 Normalize products by max in discrete elimination. 2023-02-11 19:59:16 -05:00
Kevin feaa07ad02 Merge branch 'develop' of github.com:keevindoherty/gtsam into hotfix/sumproduct 2023-02-11 19:33:27 -05:00
Frank Dellaert a8eb98acea Fixed warnings that arise from stricter compiler flags 2023-02-11 12:32:50 -08:00
Kevin 548509f28b First pass at underflow test for sum-product. 2023-02-10 17:02:27 -05:00
Kevin 29358f826b Patch discrete factor graph test to normalize expected result. 2023-02-09 14:23:52 -05:00
Frank Dellaert b71ed8f91d
Merge pull request #1441 from wanmeihuali/hotfix/stack_overflow
Fixing stack overflow issue for large tree
2023-02-08 19:07:02 -08:00
Kevin 0710a8a893 Add normalization trick to sum-product. 2023-02-08 14:15:32 -05:00
Kevin Doherty 4f4c6eba7e
Merge pull request #1449 from keevindoherty/hotfix/maxproduct
Add normalization to max-product, avoiding underflow.
2023-02-08 10:15:09 -05:00
Kevin 9d0be8f2b2 Use simpler normalization for max-product. 2023-02-08 08:55:03 -05:00
wanmeihuali 36e9d4aaed move the destructor implementation from .h to -inst.h 2023-02-07 17:51:08 -08:00
Kevin 571b0f5e90 Add toy problem testing max-product underflow. 2023-02-07 10:43:16 -05:00
Kevin 148d99f1d1 Add normalization to max-product, avoiding underflow. 2023-02-07 10:15:57 -05:00
wanmeihuali 46c311b5b9
Merge branch 'borglab:develop' into hotfix/stack_overflow 2023-02-06 12:58:52 -08:00
Frank Dellaert 2856282932
Merge pull request #1444 from borglab/feature/remove_boost_completely
Optionally remove boost completely
2023-02-06 12:56:55 -08:00
Frank Dellaert b644aa3fd2 Add GncOptimizer back into the wrapper 2023-02-06 11:37:18 -08:00
Frank Dellaert 4eab29f714 Some more emplace_shared instances prompted by code review. 2023-02-06 10:55:52 -08:00
Frank Dellaert bf6f19e67e
Merge pull request #1447 from borglab/feature/cppunitlite-remove-boost 2023-02-06 08:59:27 -08:00
Frank Dellaert f0fc4f82af Add missing header 2023-02-06 08:40:40 -08:00
Varun Agrawal 775d2e877e update CppUnitLite to not rely on boost 2023-02-06 10:48:10 -05:00
Frank Dellaert 798e4c79c4 Run with no boost in special cases workflow 2023-02-06 02:17:08 -08:00
Frank Dellaert 61a30b0162 Make concepts work in the boost path 2023-02-06 02:09:32 -08:00
Frank Dellaert c6dd2bb0f0 Fix up timing and examples 2023-02-06 01:44:55 -08:00
Frank Dellaert aac277d949 Remove serialization header 2023-02-06 01:35:14 -08:00
Frank Dellaert 8fb0d255ca Excluding sources/headers/tests 2023-02-06 01:34:55 -08:00
Frank Dellaert a9971fd2fd More emplace_shared usage 2023-02-06 01:20:27 -08:00
Frank Dellaert 29c25970ad support 4 concept asserts 2023-02-06 01:03:33 -08:00
Frank Dellaert 7afccbc446 use emplace_shared 2023-02-06 01:03:17 -08:00
Frank Dellaert eb37866e92 GTSAM_CONCEPT_ASSERT to replace BOOST equivalent. 2023-02-06 00:35:36 -08:00
Frank Dellaert a38d76bcef Cleaned up ++ stragglers 2023-02-06 00:18:42 -08:00
Frank Dellaert a9dd644015 use static_assert 2023-02-06 00:08:57 -08:00
Frank Dellaert 662535bf16 add missing header 2023-02-05 23:14:15 -08:00
Frank Dellaert e6ace91e9d fail slow again 2023-02-05 23:14:08 -08:00
Frank Dellaert 08e63aee12 Replace boost lexical casts in CppUnitLite 2023-02-05 23:09:52 -08:00
Frank Dellaert 749098f239
Merge pull request #1442 from borglab/feature/elimination_refactor 2023-02-05 23:08:31 -08:00
Frank Dellaert d38562868f include assert header 2023-02-05 22:50:36 -08:00
Frank Dellaert 9a7bce8540 Exclude testSmartStereoProjectionFactorPP 2023-02-05 21:10:38 -08:00
Frank Dellaert bd3b5be0a0 Exclude more files 2023-02-05 20:45:55 -08:00
Frank Dellaert ec5a6003c6 Turn off timing 2023-02-05 20:45:54 -08:00
Frank Dellaert c1b5c192f8 Kill more boost headers 2023-02-05 20:45:54 -08:00
Frank Dellaert 62b302bc76 Excluding more files 2023-02-05 20:45:54 -08:00
Frank Dellaert c13f58a67e Got rid of intrusive_ptr 2023-02-05 20:45:54 -08:00
Frank Dellaert 438e29353d Replace boost::bimap 2023-02-05 20:45:54 -08:00