Mercurial > hg > pymctf
comparison pymctf.py @ 4:4fc1d403ad14
fix in apply_mc_all()
| author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
|---|---|
| date | Tue, 18 Dec 2007 10:09:28 +0100 |
| parents | 0e5a584fd6b2 |
| children | b235e08ebd04 |
comparison
equal
deleted
inserted
replaced
| 3:0e5a584fd6b2 | 4:4fc1d403ad14 |
|---|---|
| 42 for i in xrange(left, mid): | 42 for i in xrange(left, mid): |
| 43 ws_out.append(apply_mc(ws_in[i], mvfs[i], bs)) | 43 ws_out.append(apply_mc(ws_in[i], mvfs[i], bs)) |
| 44 ws_out.append(ws_in[i]) | 44 ws_out.append(ws_in[i]) |
| 45 for i in xrange(mid, right): | 45 for i in xrange(mid, right): |
| 46 ws_out.append(ws_in[i]) | 46 ws_out.append(ws_in[i]) |
| 47 ws_out.append(apply_mc(ws_in[i], mvfs[i])) | 47 ws_out.append(apply_mc(ws_in[i], mvfs[i], bs)) |
| 48 | 48 |
| 49 ws_in = ws_out | 49 ws_in = ws_out |
| 50 del mvfs[:take] | 50 del mvfs[:take] |
| 51 | 51 |
| 52 take *= 2 | 52 take *= 2 |
