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
9cc00a85f6
Merge branch 'develop' into fix/expressions
2023-02-12 07:12:23 -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
Frank Dellaert
cb6603416c
Fix TBB compilation issue
2023-02-11 22:17:46 -08:00
Frank Dellaert
b30d553042
Got rid of some warnings in the boost-free path
2023-02-11 17:28:48 -08:00
Frank Dellaert
c647257ffd
Replaced numbered GTSAM_CONCEPT_ASSERT# with GTSAM_CONCEPT_ASSERT
2023-02-11 17:17:18 -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
179575764a
Reverted ill-advised quick fix for concepts - now no-op.
2023-02-11 15:54:28 -08:00
Frank Dellaert
81ce4f4d9e
Avoid issues on platforms where Eigen decides it needs 32 byte alignment.
2023-02-11 15:19:48 -08:00
Frank Dellaert
38a9ba3692
Work with raw char pointers to have correct pointer arithmetic and avoid buffer overflow.
2023-02-11 15:19:19 -08:00
Frank Dellaert
04e155c9d4
Make sure pointer arithmetic is correct
2023-02-11 12:38:11 -08:00
Frank Dellaert
ae1526dd8a
Fix warnings and use new allocAligned scheme
2023-02-11 12:37:52 -08:00
Frank Dellaert
73c20c2ae1
New unified allocAligned scheme
2023-02-11 12:37:39 -08:00
Frank Dellaert
dfb79632be
Fix warnings
2023-02-11 12:37:03 -08: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