This bugzilla service is closed. All entries have been migrated to
Bug 1300 - "_MatrixTypeNested is private within this context" compile error with SPQR
Summary: "_MatrixTypeNested is private within this context" compile error with SPQR
Alias: None
Product: Eigen
Classification: Unclassified
Component: Sparse (show other bugs)
Version: 3.2
Hardware: All All
: High Compilation Problem
Assignee: Nobody
Keywords: test-needed
Depends on:
Reported: 2016-09-20 02:51 UTC by philip.avery
Modified: 2019-12-04 16:15 UTC (History)
3 users (show)

error message (4.69 KB, text/x-log)
2016-09-20 02:51 UTC, philip.avery
no flags Details

Description philip.avery 2016-09-20 02:51:39 UTC
Created attachment 734 [details]
error message

The following program compiles with 3.2.9 but not the current 3.2 tip (changeset d32b21f4b988):

#include <Eigen/SPQRSupport>

int main()
  Eigen::SparseMatrix<double> m;
  Eigen::SPQR<Eigen::SparseMatrix<double> > s(m);

  Eigen::MatrixXd x,b;
  x = s.solve(b);

The error message is attached. This is with g++ version 5.4.0 on ubuntu 14.10
Comment 1 Christoph Hertzberg 2016-09-20 10:23:22 UTC
I confirm this. The offending commit appears to be:
An easy work-around is to just make _MatrixTypeNested public. (Not sure if this is intended to be private?)
Comment 2 Gael Guennebaud 2016-09-21 16:16:37 UTC
Branch:      3.2
Summary:     Bug 1300: compilation fix in Block<Sparse>
Comment 3 Nobody 2019-12-04 16:15:51 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance:

Note You need to log in before you can comment on or make changes to this bug.