a few tmp fix to bypass eigen errors, should not be permanent solutions
parent
6a5beab4d4
commit
3f98942e9a
|
@ -251,6 +251,9 @@ else()
|
|||
|
||||
endif()
|
||||
|
||||
# tmp mute eigen static assert to avoid errors in shared lib
|
||||
add_definitions(-DEIGEN_NO_STATIC_ASSERT)
|
||||
|
||||
###############################################################################
|
||||
# Global compile options
|
||||
|
||||
|
|
|
@ -380,7 +380,7 @@ class PlainObjectBase : public internal::dense_xpr_base<Derived>::type
|
|||
*/
|
||||
EIGEN_STRONG_INLINE void conservativeResize(Index size)
|
||||
{
|
||||
internal::conservative_resize_like_impl<Derived>::run(*this, size);
|
||||
internal::conservative_resize_like_impl<Derived>::run(*this, size, 1);
|
||||
}
|
||||
|
||||
/** Resizes the matrix to \a rows x \a cols of \c other, while leaving old values untouched.
|
||||
|
|
Loading…
Reference in New Issue