This forum has been archived. All content is frozen. Please use KDE Discuss instead.

A error when using UMFPACK

Tags: None
(comma "," separated)
cglwdm
Registered Member
Posts
18
Karma
0

A error when using UMFPACK

Fri Mar 27, 2015 6:34 am
Hi,
I am using the Eigen and UMFPACK in viusal studio 2010, but it says

error C2039 "data" is not a member of Eigen::CwiseBinaryOp<BinaryOp,LhsType,RhsType>

at this line

eigen_assert(b.derived().data() != x.derived().data() && " Umfpack does not support inplace solve"); in the file "UmfPackSupport.h"

whis is the matter
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: A error when using UMFPACK  Topic is solved

Sat Mar 28, 2015 9:37 am
You are probably calling compute() or solve() with an expression and not a matrix. This should be fixed in the devel branch. You can workaround by calling .eval() on the expression, like lu.solve((a+b).solve()) instead of lu.solve(a+b).


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]