tapios / risk-networks

Code for risk networks: a blend of compartmental models, graphs, data assimilation and semi-supervised learning
Other
2 stars 2 forks source link

Ambiguous bitwise 'and' used in StateInformedObservation.find_observation_states #116

Closed dburov190 closed 4 years ago

dburov190 commented 4 years ago

Here: https://github.com/dburov190/risk-networks/blob/8d8bbfc0b61621d9ef48df22b33251dd8f386b64/epiforecast/measurements.py#L148

the use of & (bitwise 'and' operator) is dubious; I'd use and for consistency.