diff --git a/Tests/MathLib/TestLinearSolver.cpp b/Tests/MathLib/TestLinearSolver.cpp
index f462937cc5810509e8990c59de899a07cab7a56e..d46e985da3fa8e35390f842a2cb10c3a020e9489 100644
--- a/Tests/MathLib/TestLinearSolver.cpp
+++ b/Tests/MathLib/TestLinearSolver.cpp
@@ -228,12 +228,11 @@ TEST(Math, CheckInterface_EigenLis)
 {
     // set solver options using Boost property tree
     boost::property_tree::ptree t_root;
-    boost::property_tree::ptree t_solver;
     t_root.put("lis", "-i cg -p none -tol 1e-15 -maxiter 1000");
     BaseLib::ConfigTree conf(t_root, "",
         BaseLib::ConfigTree::onerror, BaseLib::ConfigTree::onwarning);
 
-    using IntType = MathLib::LisMatrix::IndexType;
+    using IntType = MathLib::EigenMatrix::IndexType;
 
     MathLib::EigenMatrix A(Example1<IntType>::dim_eqs);
     checkLinearSolverInterface<MathLib::EigenMatrix, MathLib::EigenVector,