jchelly / gadgetviewer

Simple tool for interactive visualisation of Gadget and SWIFT N-body simulations
GNU General Public License v3.0
24 stars 9 forks source link

Replace stop statements with call to terminate() subroutine #4

Closed jchelly closed 6 years ago

jchelly commented 6 years ago

In various places the code contained stop statements with an error message and no space between the stop and the message. This prevented compilation with gfortran 8. Also, it's not clear that stop with a string message is strictly allowed by the language standard. This PR replaces the stops with calls to a new terminate() function.