mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
partition is (true, false), not (false, true)
This commit is contained in:
parent
4ec9308637
commit
ba7962e3db
@ -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']:
|
||||||
|
Loading…
Reference in New Issue
Block a user