Bug 1211 - RegularGrid1 demo fails
Summary: RegularGrid1 demo fails
Alias: None
Product: DIRSIG4
Classification: Unclassified
Component: Materials/Radiometry (show other bugs)
Version: 4.7.0-release
Hardware: Other Other
: P3 normal
Assignee: Adam Goodenough
Depends on:
Reported: 2016-02-22 10:54 EST by Adam Goodenough
Modified: 2016-02-22 10:56 EST (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Adam Goodenough 2016-02-22 10:54:40 EST
The RegularGrid1 demo fails when attempting to run with v. 4.7.0 or higher. The output error looks like:

Re-mapping materials to internal indexing system ... Assertion failed: (origIndex < this->mapper.size()), function remapMatIndex, file ../../src/libCD/mat/CDMaterialLabels.h, line 221.
Comment 1 Adam Goodenough 2016-02-22 10:56:25 EST
While the regular grid itself was updated for the new material indexing system, the reader was not. As a result, temporary indexes were never generated and remapping failed. This has been fixed and updated for 4.7.1