diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2019-01-25 14:54:39 +0100 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2019-01-25 14:54:39 +0100 |
commit | 934b8a1304f4d210520c1b158c2ee3da78062532 (patch) | |
tree | c3bf06553c525a2f7794a25ecc9686fbc314b8b7 /test/bicgstab.cpp | |
parent | ec8a387972650cda5ad32da5f89659631ad3008a (diff) |
Avoid `I` as an identifier, since it may clash with the C-header complex.h
Diffstat (limited to 'test/bicgstab.cpp')
-rw-r--r-- | test/bicgstab.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/bicgstab.cpp b/test/bicgstab.cpp index 89d6a45ef..59c4b501c 100644 --- a/test/bicgstab.cpp +++ b/test/bicgstab.cpp @@ -10,11 +10,11 @@ #include "sparse_solver.h" #include <Eigen/IterativeLinearSolvers> -template<typename T, typename I> void test_bicgstab_T() +template<typename T, typename I_> void test_bicgstab_T() { - BiCGSTAB<SparseMatrix<T,0,I>, DiagonalPreconditioner<T> > bicgstab_colmajor_diag; - BiCGSTAB<SparseMatrix<T,0,I>, IdentityPreconditioner > bicgstab_colmajor_I; - BiCGSTAB<SparseMatrix<T,0,I>, IncompleteLUT<T,I> > bicgstab_colmajor_ilut; + BiCGSTAB<SparseMatrix<T,0,I_>, DiagonalPreconditioner<T> > bicgstab_colmajor_diag; + BiCGSTAB<SparseMatrix<T,0,I_>, IdentityPreconditioner > bicgstab_colmajor_I; + BiCGSTAB<SparseMatrix<T,0,I_>, IncompleteLUT<T,I_> > bicgstab_colmajor_ilut; //BiCGSTAB<SparseMatrix<T>, SSORPreconditioner<T> > bicgstab_colmajor_ssor; bicgstab_colmajor_diag.setTolerance(NumTraits<T>::epsilon()*4); |