mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 20:26:03 +08:00
Silence compiler warning.
This commit is contained in:
parent
db9c9df59a
commit
d638b62dda
@ -85,8 +85,7 @@ class ThreadPoolTempl : public Eigen::ThreadPoolInterface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void SetStealPartitions(const std::vector<std::pair<unsigned, unsigned>>& partitions) {
|
void SetStealPartitions(const std::vector<std::pair<unsigned, unsigned>>& partitions) {
|
||||||
int num_partitions = partitions.size();
|
eigen_assert(static_cast<int>(partitions.size()) == num_threads_);
|
||||||
eigen_assert(num_partitions == num_threads_);
|
|
||||||
|
|
||||||
// Pass this information to each thread queue.
|
// Pass this information to each thread queue.
|
||||||
for (int i = 0; i < num_threads_; i++) {
|
for (int i = 0; i < num_threads_; i++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user