linqs / psl

The PSL software from the University of Maryland and the University of California Santa Cruz
http://psl.linqs.org
Apache License 2.0
298 stars 100 forks source link

Allow atom managers to return null in getAtom calls. #306

Closed dickensc closed 3 years ago

dickensc commented 3 years ago

This is a part of the changes made in the larger onlinePSL project.

Allow atom managers to return null in getAtom calls. This can occur when onlineAtom managers decide the atom is invalid but should not throw an access exception. This happens when adding atoms since adding atoms should not create new random variable atoms.

eriq-augustine commented 3 years ago

lgtm