print_dot_psl: fix numbering of commutative operands

* spot/tl/dot.cc: Here.
* tests/python/formulas.ipynb: Add test case.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2018-12-17 17:09:56 +01:00
parent dc1f713391
commit 98c8725d0c
3 changed files with 79 additions and 56 deletions

View file

@ -122,7 +122,8 @@ namespace spot
else if (childnum == -1)
os_ << " [taillabel=\"R\"]";
os_ << ";\n";
++childnum;
if (childnum)
++childnum;
}
return src;