This forum has been archived. All content is frozen. Please use KDE Discuss instead.

assertion on unaligned arrays

Tags: None
(comma "," separated)
csavorgn
Registered Member
Posts
3
Karma
0
OS

assertion on unaligned arrays

Fri Sep 02, 2016 3:26 pm
Hi,
while compiling a project using Eigen on a Windows computer (VS2012 with 32 bits target) I got the assertion error on the unaligned arrays. I followed the recipes I found in the docs (https://eigen.tuxfamily.org/dox/group__ ... ssert.html) but I keep getting the error. If I compile with NDEBUG the software runs fine.
Should I disable the assertion by defining EIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT or is there something else I should do on the code such that the assertion
doesn't rise the error?
Thanks
Carlo
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: assertion on unaligned arrays

Tue Sep 06, 2016 7:32 am
If you don't enable SSE, then no worry, you can safely disable it. Otherwise, you must track the origin of the problem and fix it.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]