Browse Source

Bug fix in Distribution class (from Anvesh).

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@3464 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Dave Parker 15 years ago
parent
commit
1031845775
  1. 3
      prism/src/explicit/Distribution.java

3
prism/src/explicit/Distribution.java

@ -108,7 +108,8 @@ public class Distribution implements Iterable<Entry<Integer,Double>>
{ {
if (prob == 0.0) if (prob == 0.0)
map.remove(j); map.remove(j);
map.put(j, prob);
else
map.put(j, prob);
} }
/** /**

Loading…
Cancel
Save