LeMonADE-project / LeMonADE

Library for Monte Carlo Simulation applying the Bond Fluctuation Model
Other
3 stars 11 forks source link

UpdaterAbstractCreate.h: Missing return-statement in non-void function #145

Open Bondoki opened 3 years ago

Bondoki commented 3 years ago

It's possible risk as I also experienced program crash. Therefore add

return true;

in the next release.

https://github.com/LeMonADE-project/LeMonADE/blob/7523a6b102b5b5d6162c5ba94c618ec16168c4b3/include/LeMonADE/updater/UpdaterAbstractCreate.h#L112-L115