New user self-registration is disabled due to spam. Please email eigen-core-team @ lists.tuxfamily.org if you need an account.
Before reporting a bug, please make sure that your Eigen version is up-to-date!
Bug 1711 - smallvectors unit test fails in C++03 mode
Summary: smallvectors unit test fails in C++03 mode
Status: CONFIRMED
Alias: None
Product: Eigen
Classification: Unclassified
Component: Core - general (show other bugs)
Version: 3.4 (development)
Hardware: All All
: Normal Failed Unit Test
Assignee: Nobody
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 3.x
  Show dependency treegraph
 
Reported: 2019-05-10 13:25 UTC by Christoph Hertzberg
Modified: 2019-05-10 13:25 UTC (History)
3 users (show)



Attachments

Description Christoph Hertzberg 2019-05-10 13:25:34 UTC
As noted in Bug 1692 comment 5, smallvectors fails in C++03 mode since these commits (in default and 3.3):
https://bitbucket.org/eigen/eigen/commits/b31bfdc8c
https://bitbucket.org/eigen/eigen/commits/1ed149473

Perhaps we can let `is_valid_index_type` check explicitly for common non-integral types like float/double/complex<*>.
Or we just disable the test in C++03 mode.

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