wiheto / teneto

Temporal Network Tools
GNU General Public License v3.0
85 stars 26 forks source link

Fix misplaced parenthesis in utils.py #45

Closed lcandeago closed 5 years ago

lcandeago commented 5 years ago

fixes the following error when trying to use get_network_when:

line 986, in get_network_when
    network['j'].isin(ij))), (network['t'].isin(t)))]
TypeError: and_ expected 2 arguments, got 1

due to a misplaced parenthesis

wiheto commented 5 years ago

LGTM. Nice catch! Sorry I've been tinkering with this functions a fair bit to resolve speed issues.