Changeset 7772:1d0086a54b0a
- Timestamp:
- 12/11/07 14:46:28 (5 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
sage/coding/binary_code.pyx (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sage/coding/binary_code.pyx
r7771 r7772 2219 2219 2220 2220 # declare variables: 2221 cdef int i, j, ii, jj, iii, jjj # local variables2221 cdef int i, j, ii, jj, iii, jjj, iiii # local variables 2222 2222 2223 2223 cdef PartitionStack nu, zeta, rho # nu is the current position in the tree, … … 2726 2726 for i from 0 <= i <= l: 2727 2727 ii = self.Phi_size*i 2728 iiii = 1 2728 2729 for j from 0 <= j < iii: 2729 if Phi[ii + j] & Phi[jj + j] == Phi[jj + j]: #should do the whole thing, not one at a time! 2730 if Phi[ii + j] & Phi[jj + j] != Phi[jj + j]: 2731 iiii = 0 2732 break 2733 if iiii: 2734 for j from 0 <= j < iii: 2730 2735 W[jjj + j] &= Omega[ii + j] 2731 2736 e[k] = 1
Note: See TracChangeset
for help on using the changeset viewer.
