Commit Graph

9 Commits (6d4cf0c1156c8fc1990dc76b52b5ecd2d388b914)

Author SHA1 Message Date
dellaert 6d4cf0c115 Fix compile issue 2016-02-18 09:55:59 -08:00
dellaert a9b0d81be4 Yet another overload fix in python wrapper 2016-02-17 18:56:44 -08:00
Frank fefb74350a Merge branch 'feature/lightweightPoint3' into feature/Vector3
Conflicts:
	gtsam/geometry/Point3.cpp
2016-02-09 18:03:17 -08:00
Frank 90e7a9a194 Made all methods with derivatives available as free functions 2016-02-09 18:01:47 -08:00
Frank 3394e85ef7 Now allows for a flag to compile Point3 as derived from Vector3 2016-02-08 17:34:42 -08:00
Frank 4319bece1e Deprecated some more methods 2016-02-08 15:16:11 -08:00
Ellon Mendes 05f6237f71 Define NO_IMPORT_ARRAY in all cpp files before including NumpyEigenConverter.hpp
This fixes the segmentation fault when converting numpy and Eigen.

The reason is that NumpyEigenConverter.hpp includes numpy/arrayobject.h, and for
the numpy's C-API to work in multiple files we need to define NO_IMPORT_ARRAY
before including numpy/arrayobject.h in all the source files but the one that
defines the module initialization (exportgtsam.cpp in out case), as explained
here:
http://docs.scipy.org/doc/numpy/reference/c-api.array.html#importing-the-api

Note that PY_ARRAY_UNIQUE_SYMBOL, also needed to work multifile, is already
defined on NumpyEigenConverter.hpp.
2015-12-02 13:35:15 +01:00
Ellon Mendes c140a784fe Add constness to matrices and vectors 2015-12-02 13:35:15 +01:00
Ellon Mendes d76ed71c99 Move my developments to the handwritten structure of files that existed before
There's a problem with numpy_eigen causing a segmentation fault.
2015-12-02 13:35:15 +01:00