Registered Member
|
Hi,
I want to change the default index type with EIGEN_DEFAULT_DENSE_INDEX_TYPE What is the correct way to do it? I added the following line in my CMakeLists.txt:
but I get errors such as:
Am I missing something? I know that it may be a cmake-related question but even when I added on top of my main.cpp
I still had (other) compilation problems:
showing data-type mismatches... |
Moderator
|
Regarding the first issue, remove the " around "int". For the other errors, it seems that's in some places we are assuming that DenseIndex==ptrdiff_t. Feel free to propose a patch.
|
Registered users: Baidu [Spider], Bing [Bot], Google [Bot], rblackwell