facebookresearch / beanmachine

A library that allows for inference on probabilistic models
https://beanmachine.org/
MIT License
264 stars 49 forks source link

minibmg: Change the Container API so that properties return references, not pointers #1812

Closed gafter closed 1 year ago

gafter commented 1 year ago

Summary: References are generally a bit easier to work with than pointers, and imply that the object exists. So we change the Container API so that properties return references rather than pointers.

Differential Revision: D41037785

facebook-github-bot commented 1 year ago

This pull request was exported from Phabricator. Differential Revision: D41037785

facebook-github-bot commented 1 year ago

This pull request has been merged in facebookresearch/beanmachine@cd0c2426efe43384cc3f2e3994eeb357cf7e1fa2.