dbekaert / StaMPS

Stanford Method for Persistent Scatterers
http://homepages.see.leeds.ac.uk/~earahoo/stamps/
GNU General Public License v3.0
233 stars 120 forks source link

Fix undefined behaviour. #20

Open giomasce opened 4 years ago

giomasce commented 4 years ago

In C++ functions returning non-void must finish with a "return" statement. Otherwise this brings to undefined behaviour, which in my particular case (GCC 9.3.0 on Debian unstable) causes a segmentation fault.