jeanbraun / Pecube

Thermo-kinematic model to invert thermochronological data
GNU General Public License v3.0
20 stars 20 forks source link

Bug correction in TestFault.f90 #22

Closed robertxa closed 2 years ago

robertxa commented 2 years ago

Hi Jean,

When running ./bin/Test RUNxx, the execution stops with a segmentation fault 11. The line that cause the error is the line 45 of testFault.f90 (call read_input_file (run//'/input/Pecube.in', 0, p, nd, range, param)) because nd is not initiated before. Adding a line nd = 0 before the line 45 of testFault.f90 solves the issue.

This pull request solves it.

Cheers,

Xavier

jeanbraun commented 2 years ago

Thanks Xavier.