mirror of
https://gitlab.com/scemama/irpf90.git
synced 2024-12-21 20:03:33 +01:00
Better re-allocation rules
This commit is contained in:
parent
c071226c1d
commit
66c2934d6d
@ -110,9 +110,9 @@ def dimsize(x):
|
|||||||
if b0.replace('-','').isdigit():
|
if b0.replace('-','').isdigit():
|
||||||
size = "%s - (%d)"%(b1,int(b0)-1)
|
size = "%s - (%d)"%(b1,int(b0)-1)
|
||||||
elif b1.replace('-','').isdigit():
|
elif b1.replace('-','').isdigit():
|
||||||
size = "%d - %s"%(int(b1)+1,b0)
|
size = "%d - (%s)"%(int(b1)+1,b0)
|
||||||
else:
|
else:
|
||||||
size = "%s - %s + 1"%(b1,b0)
|
size = "%s - (%s) + 1"%(b1,b0)
|
||||||
return size
|
return size
|
||||||
|
|
||||||
def put_info(text,filename):
|
def put_info(text,filename):
|
||||||
|
Loading…
Reference in New Issue
Block a user