blob: 7a9193e2af319c670ec04aec5c789b68ed4f767c [file]
// SPDX-FileCopyrightText: The Eigen Authors
// SPDX-License-Identifier: MPL-2.0
#include "../Eigen/Sparse"
using namespace Eigen;
#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
using Operand = SparseMatrix<float>;
#else
using Operand = SparseMatrix<double>;
#endif
int main() {
Operand a(10, 10), b(10, 10);
SparseMatrix<double, RowMajor> c;
c = (a * b).pruned();
}