def reset( self, val ):                                          #(j1)
        if val not in (0,1):                                         #(j2)
            raise ValueError( "Incorrect reset argument" )           #(j3)
        bitlist = [val for i in range( self.size )]                  #(j4)
        map( self._setbit, enumerate(bitlist), bitlist )             #(j5)
        return self                                                  #(j6)
Resets a previously created BitVector to either all
dataset/ETHPy150Open networkdynamics/zenlib/src/zen/util/bitvector.py/BitVector.reset