This bugzilla service is closed. All entries have been migrated to
Bug 1602 - Tensor module unit-tests (mostly) ignore seed parameter
Summary: Tensor module unit-tests (mostly) ignore seed parameter
Alias: None
Product: Eigen
Classification: Unclassified
Component: Tensor (show other bugs)
Version: 3.4 (development)
Hardware: All All
: Normal Internal Design
Assignee: Nobody
Depends on:
Reported: 2018-09-20 17:01 UTC by Christoph Hertzberg
Modified: 2019-12-04 17:57 UTC (History)
4 users (show)


Description Christoph Hertzberg 2018-09-20 17:01:08 UTC
The tensor module uses its own random generator which is by default initialized based on the system's random generator and the current system time.

This makes reproducing/debugging failing unit-tests harder than necessary.

Generally, I think, random number generation should be shared between the Core module and the Tensor module.
But at least during unit-tests there should be no seeds based on the current system time (except in the main() method, when no seed is passed).
Comment 1 Nobody 2019-12-04 17:57:53 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.