Skip to content

remove #ifdef OGS_USE_EIGEN from local matrix related files#1218

Merged
endJunction merged 1 commit intoufz:masterfrom
norihiro-w:remove_USE_EIGEN
May 27, 2016
Merged

remove #ifdef OGS_USE_EIGEN from local matrix related files#1218
endJunction merged 1 commit intoufz:masterfrom
norihiro-w:remove_USE_EIGEN

Conversation

@norihiro-w
Copy link
Copy Markdown
Collaborator

as titled. #ifdef OGS_USE_EIGEN is still used for global matrix, vector, and linear solver.

Comment thread CMakeLists.txt

add_definitions(-DEIGEN_INITIALIZE_MATRICES_BY_ZERO) # TODO check if needed
if (EIGEN_NO_DEBUG)
add_definitions(-DEIGEN_NO_DEBUG)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we really keep that? AFAIK it disables Eigen checks even in debug mode.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would keep it as it can speed up debugging when you are sure that Eigen related parts are fine and there will be a bug in other places. Note that EIGEN_NO_DEBUG is OFF by default.

@chleh
Copy link
Copy Markdown
Collaborator

chleh commented May 27, 2016

👍

@endJunction endJunction merged commit 2fec547 into ufz:master May 27, 2016
@norihiro-w norihiro-w deleted the remove_USE_EIGEN branch May 27, 2016 10:37
@ogsbot
Copy link
Copy Markdown
Member

ogsbot commented Jun 19, 2020

OpenGeoSys development has been moved to GitLab.

See this pull request on GitLab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants