mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +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) {
|
||||
int num_partitions = partitions.size();
|
||||
eigen_assert(num_partitions == num_threads_);
|
||||
eigen_assert(static_cast<int>(partitions.size()) == num_threads_);
|
||||
|
||||
// Pass this information to each thread queue.
|
||||
for (int i = 0; i < num_threads_; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user