Registered Member
|
Hi,
I need to put an variable in innestride like this: Map<VectorXf, 0, InnerStride<a>> sMap (s); But it says that there is an error-constant. I tried to declare a as a const int but it doesn't work. Thanks |
Moderator
|
For a runtime stride use:
Map<VectorXf, 0, InnerStride<>> sMap (ptr, size, InnerStride<>(a)); |
Registered users: Baidu [Spider], Bing [Bot], Google [Bot], rblackwell