diff --git a/src/Python/pytnl/tnl/SparseMatrix.h b/src/Python/pytnl/tnl/SparseMatrix.h
index aac41bb842a4fc7a3d5ad260fd21089bf0d53816..068c69ca83e0391176fd190f2b0844e5c82449a7 100644
--- a/src/Python/pytnl/tnl/SparseMatrix.h
+++ b/src/Python/pytnl/tnl/SparseMatrix.h
@@ -5,7 +5,7 @@ namespace py = pybind11;
 
 #include <TNL/String.h>
 #include <TNL/Containers/Vector.h>
-#include <TNL/Matrices/Legacy/CSR.h>
+#include <Benchmarks/SpMV/ReferenceFormats/Legacy/CSR.h>
 
 template< typename Matrix >
 struct SpecificExports
@@ -20,7 +20,7 @@ struct SpecificExports< TNL::Matrices::Legacy::CSR< Real, Device, Index > >
     template< typename Scope >
     static void exec( Scope & s )
     {
-        using Matrix = TNL::Matrices::Legacy::CSR< Real, Device, Index >;
+        using Matrix = TNL::Benchmarks::SpMV::ReferenceFormats::Legacy::CSR< Real, Device, Index >;
 
         s.def("getRowPointers",   py::overload_cast<>(&Matrix::getRowPointers),   py::return_value_policy::reference_internal);
         s.def("getColumnIndexes", py::overload_cast<>(&Matrix::getColumnIndexes), py::return_value_policy::reference_internal);