mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-08-02 05:25:39 -04:00
partition is (true, false), not (false, true)
This commit is contained in:
@ -24,7 +24,7 @@ pycuda = None
|
|||||||
QUEUE_LENGTH=50
|
QUEUE_LENGTH=50
|
||||||
|
|
||||||
def partition(pred, arg):
|
def partition(pred, arg):
|
||||||
return filter(lambda a: not pred(a), arg), filter(pred, arg)
|
return filter(pred, arg), filter(lambda a: not pred(a), arg)
|
||||||
|
|
||||||
def git_rev():
|
def git_rev():
|
||||||
if not os.environ['FLOCK_PATH_IGNORE']:
|
if not os.environ['FLOCK_PATH_IGNORE']:
|
||||||
|
Reference in New Issue
Block a user