glotzerlab / hoomd-examples

HOOMD-blue example scripts.
BSD 3-Clause "New" or "Revised" License
33 stars 15 forks source link

Fix compile error in CPPPotential example with some compilers. #93

Closed joaander closed 1 year ago

joaander commented 1 year ago

Description

Replace sqrt with sqrtf when computing the square root with a desired float output type.

Checklist:

review-notebook-app[bot] commented 1 year ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB