Registered Member
|
While trying out Eigen 3.3 (ubuntu 16.04) I ran into:
With the code below. Admittedly, the code isn't exactly a beaty. So I'm wondering, did I just shoot myself in the foot, or is this actually supposed to work ?
If I remove the transpose(), it compiles and links. With the transpose() the code compiles and works fine with eigen 3.2.4 |
Moderator
|
good catch, the issue is triggered only with the combinaison of both cast and transpose.... I'll fix it asap.
|
Moderator
|
in the meantime, you can workaround by swapping the cast and transpose:
X.row(i).transpose().cast<float>().squaredNorm() |
Registered Member
|
Thanks! |
Moderator
|
For the record, this precise issue has been fixed prior to the 3.3 release.
|
Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]