libra-code icon indicating copy to clipboard operation
libra-code copied to clipboard

possible bug in hpc.utils.py

Open alexvakimov opened this issue 4 years ago • 0 comments

From Fulu Zheng:

Hi Alexey, I think there might be a minor problem in the “distribute” function in the hpc.utils.py. In lines 166 and 167:

   Nstart = 0
   Nend = max_steps-1

I think the correct values for Nstart and Nend should be

  Nstart = Nmin
  Nend = Nmin + max_steps-1

Otherwise, it will not not work if we start from nonzero steps.

alexvakimov avatar Oct 15 '21 19:10 alexvakimov