fix position check
as programs get bigger the distance gets bigger needs better approach
This commit is contained in:
parent
9602acf3d2
commit
1633bf1289
@ -60,7 +60,7 @@ class Symbol
|
||||
# resetting of position used to be error, but since relink and dynamic instruction size it is ok.
|
||||
# in measures (of 32)
|
||||
old = cache_positions[self]
|
||||
if old != nil and ((old - pos).abs > 2000)
|
||||
if old != nil and ((old - pos).abs > 20000)
|
||||
raise "position set again #{pos}!=#{old} for #{self}"
|
||||
end
|
||||
cache_positions[self] = pos
|
||||
|
Loading…
Reference in New Issue
Block a user