mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 11:19:02 +08:00
Cast to longer type.
This commit is contained in:
parent
d638b62dda
commit
44d8274383
@ -85,7 +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) {
|
||||||
eigen_assert(static_cast<int>(partitions.size()) == num_threads_);
|
eigen_assert(partitions.size() == static_cast<std::size_t>(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