[eigen] regression in patch aa6f0b4308ac? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] regression in patch aa6f0b4308ac?
- From: Daniel Lowengrub <lowdanie@xxxxxxxxx>
- Date: Thu, 22 Jul 2010 16:24:04 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=UROT9S4g2JhNZ9lI3AmFW/hYiGHVgFFaWhO1JsKkt5I=; b=DNqbY2k8dXEu1x6UGF0KAIYp6xxfED1t4vJECKJugrl6bzRyO9ReagcB5J0Tv4shY6 5YEKqzsGhW981miBDIZzWyysr1+tfl7qGtb8mibY+cRg6H4J8u5GGphQBYFl+GqkBjlb uREF5GTpajlco+cR54xksr9mX9BHaLkWMgYVw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=tBOz8p5OE5b3cyLANgz8hogEJijA8x0vQ0AaJ8FzZnYYUg0TKu9kHzWXY9VrfK8qIF Ye6dJX+ddw9K9nnoQbxXejxMKZHDJHfbAMlcdccYUQMRFkbKHRmcIzgCI7hIb2JQywKb 9ZqBz3e0PuJ0OJfvOPJGLNhegq4NUSRA8dPK4=
Hi,
I was using SparseView() in the standard fashion [sparseMatrix.sparseView()] for debugging and started to get many errors like these:
/data/Src/eigen/Eigen/src/Sparse/SparseView.h: At global scope:
/data/Src/eigen/Eigen/src/Sparse/SparseView.h: In instantiation of ‘Eigen::SparseView<Eigen::Matrix<double, 10, 10, 0, 10, 10> >::InnerIterator’:
/data/Src/eigen/Eigen/src/Sparse/SparseMatrix.h:457: instantiated from ‘Eigen::SparseMatrix<_Scalar, _Flags, _Index>& Eigen::SparseMatrix<_Scalar, _Flags, _Index>::operator=(const Eigen::SparseMatrixBase<OtherDerived>&) [with OtherDerived = Eigen::SparseView<Eigen::Matrix<double, 10, 10, 0, 10, 10> >, _Scalar = double, int _Options = 0, _Index = int]’
sparse_view.cpp:33: instantiated from here
/data/Src/eigen/Eigen/src/Sparse/SparseView.h:62: error: ‘const Eigen::Matrix<double, 10, 10, 0, 10, 10>&’ is not a class, struct, or union type
/data/Src/eigen/Eigen/src/Sparse/SparseView.h:64: error: ‘const Eigen::Matrix<double, 10, 10, 0, 10, 10>&’ is not a class, struct, or union type
/data/Src/eigen/Eigen/src/Sparse/SparseView.h:78: error: ‘const Eigen::Matrix<double, 10, 10, 0, 10, 10>&’ is not a class, struct, or union type
/data/Src/eigen/Eigen/src/Sparse/SparseView.h:78: error: using-declaration for non-member at class scope
If I rollback to before the aa6f0b4308ac patch [makes SparseView a true sparse _expression_ and fix use of nesting types] then I stop getting the errors, from there and after I get them.
What could be causing this? Can someone please elucidate the purpose of the patch? I'm afraid I don't understand the nesting type issue.
Thanks,
Daniel