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

Regarding LinearAccessBit flag in master branch

Tags: None
(comma "," separated)
infinitei
Registered Member
Posts
4
Karma
0
Hi all, I am wondering has there been some change in how we check if an expression is LinearAccess in the latest Eigen baranch?
For example the following code:
Code: Select all
std::cout << std::boolalpha << bool(Vector3f::Flags&LinearAccessBit) << "\n";

prints true with Eigen 3.2.2 but false with the current master branch.

I am under the impression that LinearAccessBit should be set for all vector types.

P.S: I came across this while using OpenGL Support module where it segfaults in runtime (without compilation error) even for simple codes e.g. Vector3f v3f; glVertex(v3f). I think this is because IsGLCompatible turns out to be false. Note all this issue is with master branch, Eigen 3.2.2 is fine.
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
Right, we have to fix the GL support module to reflect that LinearAccessBit is now a completely internal thing not exposed by the Expressions
infinitei
Registered Member
Posts
4
Karma
0
Great. Curious to see the fixes.
Also kudos for having all these new expression evaluator stuff.
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS


Bookmarks



Who is online

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