-
Notifications
You must be signed in to change notification settings - Fork 99
1912/0 identity config #1917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
1912/0 identity config #1917
Conversation
Doesn't |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just realize we already have matrix Identity, so no need for preconditioner::Identity
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
a0d77bd
to
02b84db
Compare
Error: The following files need to be formatted:
You can find a formatting patch under Artifacts here or run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Pgm, | ||
Schwarz | ||
Schwarz, | ||
Identity |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Identity | |
Identity, |
I think C++ allows trailing commas, that makes the diffs nicer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one extra header
#include <ginkgo/core/config/config.hpp> | ||
#include <ginkgo/core/matrix/identity.hpp> | ||
|
||
#include "cmake-build-debug/_deps/googletest-src/googletest/include/gtest/gtest-typed-test.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#include "cmake-build-debug/_deps/googletest-src/googletest/include/gtest/gtest-typed-test.h" |
do you need this?
This PR allows parsing an object of type
matrix::Identity
. This is helpful for configuring the preconditioner benchmark with no preconditioner.