mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
* fix compilation with gcc 3.4
* add an option to disable Qt testing
This commit is contained in:
@@ -24,9 +24,10 @@
|
||||
|
||||
#include "sparse.h"
|
||||
|
||||
template<typename SetterType,typename DenseType, typename SparseType>
|
||||
bool test_random_setter(SparseType& sm, const DenseType& ref, const std::vector<Vector2i>& nonzeroCoords)
|
||||
template<typename SetterType,typename DenseType, typename Scalar, int Options>
|
||||
bool test_random_setter(SparseMatrix<Scalar,Options>& sm, const DenseType& ref, const std::vector<Vector2i>& nonzeroCoords)
|
||||
{
|
||||
typedef SparseMatrix<Scalar,Options> SparseType;
|
||||
{
|
||||
sm.setZero();
|
||||
SetterType w(sm);
|
||||
|
||||
Reference in New Issue
Block a user