forgot to autgen SparseMatrix<double>