Eigen3 support

Hi!

Is there a reason why Avogadro still requires Eigen2? Open Babel
now preffers Eigen3 if available. I think it would be nice for
Avogadro to move in the same direction. (I haven’t looked at
code yet.)

Reinis

On Sat, Oct 20, 2012 at 5:35 AM, Reinis Danne rei4dan@gmail.com wrote:

Is there a reason why Avogadro still requires Eigen2? Open Babel
now preffers Eigen3 if available. I think it would be nice for
Avogadro to move in the same direction. (I haven’t looked at
code yet.)

There was some talk a while ago about porting, but it looks like it
hasn’t happened yet. AFAIK, no one is working on it, but it should be
fairly straightforward to do if you’re be interested. Most of us are
putting our efforts into the next generation Avogadro (which is going
to use Eigen3), but we’d happily merge a patch for Avogadro 1.x :wink: I
think the way it should be done is to allow either Eigen 2 or 3 and
just put some ifdefs in where appropriate (shouldn’t be too many
places where the APIs differ).

Dave