Re: [eigen] Eigen::internal::conj_helper: cj has incomplete type

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]



You are right.

Actually, a forward declaration is enough: https://bitbucket.org/eigen/eigen/commits/70ef9b6ead8a/

gael

On Mon, Aug 29, 2016 at 2:32 PM, Peter <list@xxxxxxxxxxxxxxxxx> wrote:
Dear Gael,


Am 29.08.2016 um 10:32 schrieb Gael Guennebaud:
Pushed in both devel and 3.2 branches.

thanks for looking into it. It works.

In addition I just spotted a problem in

/home/peter/Eigen/eigen/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h:246:11: error: ‘SparseMatrix’ does not name a type
   typedef SparseMatrix<Scalar, 0, StorageIndex> ReturnType;

in eigen-eigen-614aeef31569 .

It's sufficient to include

#include <Eigen/KroneckerProduct>


to trigger the problem.

Adding in addition

#include <Eigen/Sparse>

removes the error message and it compiles fine.


Best regards,
Peter






Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/