Ticket #3676: trac3676-cleanup3.patch

File trac3676-cleanup3.patch, 1.2 KB (added by rlm, 13 years ago)
  • sage/groups/perm_gps/partn_ref/tree_traversal.pyx

    # HG changeset patch
    # User Robert L. Miller <rlm@rlmiller.org>
    # Date 1218062311 25200
    # Node ID 0d615fe01df66383a36d7d21e1cc88157adf6eee
    # Parent  a3565e4f0f9ba13547775e64edaa16dbf441bd0d
    uninitialized bitsets
    
    diff -r a3565e4f0f9b -r 0d615fe01df6 sage/groups/perm_gps/partn_ref/tree_traversal.pyx
    a b cdef traverse_return *traverse_tree(obje 
    900900        mpz_clear(subgroup_size)
    901901        raise MemoryError
    902902   
     903    bitset_zero(vertices_have_been_reduced)
     904   
    903905    # Copy data of partition to current_ps.
    904906    i = 0
    905907    j = 0
    cdef traverse_return *traverse_tree(obje 
    11251127        if automorphism:
    11261128            if index_in_fp_and_mcr < len_of_fp_and_mcr - 1:
    11271129                index_in_fp_and_mcr += 1
     1130            bitset_zero(fixed_points_of_generators[index_in_fp_and_mcr])
     1131            bitset_zero(minimal_cell_reps_of_generators[index_in_fp_and_mcr])
    11281132            for i from 0 <= i < n:
    11291133                if permutation[i] == i:
    11301134                    bitset_set(fixed_points_of_generators[index_in_fp_and_mcr], i)