1
1
Michael Lass 67490118ad dims_create: fix calculation of factors for odd squares
Until now sqrt(n) was missed as a factor for odd square numbers n. This
lead to suboptimal results of MPI_Dims_create for input numbers like 9,
25, 49, ... Fix the results by including sqrt(n) in the search for
factors.

Refs: #7186

Signed-off-by: Michael Lass <bevan@bi-co.net>
2019-11-22 20:12:58 +01:00
..
2017-05-17 01:12:49 -04:00
2018-07-14 14:14:37 +09:00
2018-07-14 14:14:37 +09:00
2018-03-26 14:21:21 -07:00
2018-07-14 14:14:37 +09:00
2017-05-17 01:12:49 -04:00
2017-08-22 08:56:40 -07:00
2017-05-17 01:12:49 -04:00
2017-05-17 01:12:49 -04:00
2018-07-14 14:14:37 +09:00
2017-03-18 15:08:59 -05:00