| 217 | |
| 218 | template <typename MatrixType> |
| 219 | void WriteStaticMatrixBlob(sqlite3_stmt* sql_stmt, |
| 220 | const MatrixType& matrix, |
| 221 | const int col) { |
| 222 | SQLITE3_CALL(sqlite3_bind_blob( |
| 223 | sql_stmt, |
| 224 | col, |
| 225 | reinterpret_cast<const char*>(matrix.data()), |
| 226 | static_cast<int>(matrix.size() * sizeof(typename MatrixType::Scalar)), |
| 227 | SQLITE_STATIC)); |
| 228 | } |
| 229 | |
| 230 | template <typename MatrixType> |
| 231 | void WriteDynamicMatrixBlob(sqlite3_stmt* sql_stmt, |
no test coverage detected