mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 03:39:01 +08:00
Make index type of Triplet default to SparseMatrix::Index as suggested by Kolja Brix. Fixes bug #665.
This commit is contained in:
parent
b433fb2857
commit
4a42843513
@ -143,7 +143,7 @@ template<typename T> struct plain_matrix_type<T,Sparse>
|
|||||||
*
|
*
|
||||||
* \sa SparseMatrix::setFromTriplets()
|
* \sa SparseMatrix::setFromTriplets()
|
||||||
*/
|
*/
|
||||||
template<typename Scalar, typename Index=unsigned int>
|
template<typename Scalar, typename Index=typename SparseMatrix<Scalar>::Index >
|
||||||
class Triplet
|
class Triplet
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user