Skip to content

Commit

Permalink
test smatrix
Browse files Browse the repository at this point in the history
  • Loading branch information
niermann999 committed Nov 29, 2024
1 parent 4ba6777 commit f50c490
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,10 @@ struct block_getter {
const ROOT::Math::SMatrix<scalar_t, ROWS, COLS> &m, unsigned int row,
unsigned int col) const {

return m.template SubCol<ROOT::Math::SVector<scalar_t, SIZE>>(col, row);
ROOT::Math::SMatrix<scalar_t, ROWS, COLS> tmp = m.template Sub<ROOT::Math::SMatrix<scalar_t, SIZE, 1>>(row, col);

return tmp;
//return m.template SubCol<ROOT::Math::SVector<scalar_t, SIZE>>(col, row);
}
}; // struct block_getter

Expand Down

0 comments on commit f50c490

Please sign in to comment.