projekty
/
imago.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
slight modification to the BSD3 license
[imago.git]
/
src
/
gridf3.py
diff --git
a/src/gridf3.py
b/src/gridf3.py
index
8685846
..
8a1a216
100644
(file)
--- a/
src/gridf3.py
+++ b/
src/gridf3.py
@@
-67,7
+67,8
@@
class Diagonal_model:
return float("inf"), []
else:
l1, l2 = p.l1, p.l2
return float("inf"), []
else:
l1, l2 = p.l1, p.l2
- score += min(d, dist)
+ else: # TODO delete this or refactor
+ score += min(d, dist)
return score, cons
return score, cons