diff --git a/docs/pyerrors/input/bdio.html b/docs/pyerrors/input/bdio.html index b1df703a..3873932a 100644 --- a/docs/pyerrors/input/bdio.html +++ b/docs/pyerrors/input/bdio.html @@ -143,7 +143,7 @@ 61 return_list = [] 62 63 print('Reading of bdio file started') - 64 while 1 > 0: + 64 while True: 65 bdio_seek_record(fbdio) 66 ruinfo = bdio_get_ruinfo(fbdio) 67 @@ -455,7 +455,7 @@ 373 fbdio = bdio_open(ctypes.c_char_p(b_path), ctypes.c_char_p(b_read), ctypes.c_char_p(b_form)) 374 375 print('Reading of bdio file started') -376 while 1 > 0: +376 while True: 377 bdio_seek_record(fbdio) 378 ruinfo = bdio_get_ruinfo(fbdio) 379 if ruinfo < 0: @@ -664,7 +664,7 @@ 582 fbdio = bdio_open(ctypes.c_char_p(b_path), ctypes.c_char_p(b_read), ctypes.c_char_p(b_form)) 583 584 print('Reading of bdio file started') -585 while 1 > 0: +585 while True: 586 bdio_seek_record(fbdio) 587 ruinfo = bdio_get_ruinfo(fbdio) 588 if ruinfo < 0: @@ -831,7 +831,7 @@ 62 return_list = [] 63 64 print('Reading of bdio file started') - 65 while 1 > 0: + 65 while True: 66 bdio_seek_record(fbdio) 67 ruinfo = bdio_get_ruinfo(fbdio) 68 @@ -1197,7 +1197,7 @@ adding the flag -fPIC to CC and changing the all target to
374 fbdio = bdio_open(ctypes.c_char_p(b_path), ctypes.c_char_p(b_read), ctypes.c_char_p(b_form)) 375 376 print('Reading of bdio file started') -377 while 1 > 0: +377 while True: 378 bdio_seek_record(fbdio) 379 ruinfo = bdio_get_ruinfo(fbdio) 380 if ruinfo < 0: @@ -1449,7 +1449,7 @@ Manually overwrite ensemble name 583 fbdio = bdio_open(ctypes.c_char_p(b_path), ctypes.c_char_p(b_read), ctypes.c_char_p(b_form)) 584 585 print('Reading of bdio file started') -586 while 1 > 0: +586 while True: 587 bdio_seek_record(fbdio) 588 ruinfo = bdio_get_ruinfo(fbdio) 589 if ruinfo < 0: diff --git a/docs/pyerrors/input/misc.html b/docs/pyerrors/input/misc.html index eee79644..4b548e4b 100644 --- a/docs/pyerrors/input/misc.html +++ b/docs/pyerrors/input/misc.html @@ -166,7 +166,7 @@ 93 nsrc.append(struct.unpack('i', t)[0]) 94 95 # body - 96 while 0 < 1: + 96 while True: 97 t = fp.read(4) 98 if len(t) < 4: 99 break @@ -301,7 +301,7 @@ 94 nsrc.append(struct.unpack('i', t)[0]) 95 96 # body - 97 while 0 < 1: + 97 while True: 98 t = fp.read(4) 99 if len(t) < 4: 100 break diff --git a/docs/pyerrors/input/openQCD.html b/docs/pyerrors/input/openQCD.html index 5b55f215..ef224242 100644 --- a/docs/pyerrors/input/openQCD.html +++ b/docs/pyerrors/input/openQCD.html @@ -235,7 +235,7 @@ 150 print('something is wrong!') 151 152 configlist.append([]) -153 while 0 < 1: +153 while True: 154 t = fp.read(4) 155 if len(t) < 4: 156 break @@ -447,7 +447,7 @@ 362 Ysl = [] 363 364 configlist.append([]) -365 while 0 < 1: +365 while True: 366 t = fp.read(4) 367 if(len(t) < 4): 368 break @@ -742,7 +742,7 @@ 657 nfl = 1 658 iobs = 8 * nfl # number of flow observables calculated 659 -660 while 0 < 1: +660 while True: 661 t = fp.read(4) 662 if(len(t) < 4): 663 break @@ -767,7 +767,7 @@ 682 t = fp.read(8) 683 eps = struct.unpack('d', t)[0] 684 -685 while 0 < 1: +685 while True: 686 t = fp.read(4) 687 if(len(t) < 4): 688 break @@ -1091,7 +1091,7 @@ 151 print('something is wrong!') 152 153 configlist.append([]) -154 while 0 < 1: +154 while True: 155 t = fp.read(4) 156 if len(t) < 4: 157 break @@ -1350,7 +1350,7 @@ Print additional information that is useful for debugging. 363 Ysl = [] 364 365 configlist.append([]) -366 while 0 < 1: +366 while True: 367 t = fp.read(4) 368 if(len(t) < 4): 369 break @@ -1671,7 +1671,7 @@ If False: The config numbers are assumed to be traj_number // difference 658 nfl = 1 659 iobs = 8 * nfl # number of flow observables calculated 660 -661 while 0 < 1: +661 while True: 662 t = fp.read(4) 663 if(len(t) < 4): 664 break @@ -1696,7 +1696,7 @@ If False: The config numbers are assumed to be traj_number // difference 683 t = fp.read(8) 684 eps = struct.unpack('d', t)[0] 685 -686 while 0 < 1: +686 while True: 687 t = fp.read(4) 688 if(len(t) < 4): 689 break