mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
fixed some double-promotion and sign-compare warnings
This commit is contained in:
@@ -36,7 +36,7 @@ class NonBlockingThreadPoolTempl : public Eigen::ThreadPoolInterface {
|
||||
// indices as (t + coprime) % num_threads, we will cover all threads without
|
||||
// repetitions (effectively getting a presudo-random permutation of thread
|
||||
// indices).
|
||||
for (unsigned i = 1; i <= num_threads; i++) {
|
||||
for (int i = 1; i <= num_threads; i++) {
|
||||
unsigned a = i;
|
||||
unsigned b = num_threads;
|
||||
// If GCD(a, b) == 1, then a and b are coprimes.
|
||||
|
||||
Reference in New Issue
Block a user