Changeset 13106


Ignore:
Timestamp:
03/14/12 17:24:57 (13 years ago)
Author:
lusterma
Message:
tiny correction
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/pyscripts/pyfact/drs_spikes.py

    r13021 r13106  
    5555            #print 'can : p', can, p
    5656            can = can * np.sign(self.single_pattern)
    57             if all(can > p):
     57            if np.all(can > p):
    5858                singles.append(cc[i])
    5959
     
    6464            #print 'can : p', can, p
    6565            can = can * np.sign(self.double_pattern)
    66             if all(can > p):
     66            if np.all(can > p):
    6767                doubles.append(cc[i])
    6868
Note: See TracChangeset for help on using the changeset viewer.