nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6e2338
)
modelviz: make the LinexComparator more robust by getting the model from a non-nullab...
author
Jean Privat
<jean@pryen.org>
Thu, 22 Oct 2015 00:34:01 +0000
(20:34 -0400)
committer
Jean Privat
<jean@pryen.org>
Thu, 22 Oct 2015 00:34:01 +0000
(20:34 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
src/model/model_viz.nit
patch
|
blob
|
history
diff --git
a/src/model/model_viz.nit
b/src/model/model_viz.nit
index
9735136
..
06f2fb6
100644
(file)
--- a/
src/model/model_viz.nit
+++ b/
src/model/model_viz.nit
@@
-85,7
+85,7
@@
private class LinexComparator
var subs = tree.sub[o]
var minres = mini(subs.first)
var maxres = maxi(subs.first)
- var order = minres.model.mmodule_importation_hierarchy
+ var order = o.model.mmodule_importation_hierarchy
for o2 in subs do
var c = mini(o2)
if c == null then continue