The code.ill.fr has been recreated and upgraded with the latest version this weekend, If you encounter any problem please inform the Helpdesk.

Commit dc5abf95 authored by juan rodriguez-carvajal's avatar juan rodriguez-carvajal
Browse files

Correcting an error in calculating CPU-time in the simulated annealing subroutines.

parent 8f6e4c1a
Pipeline #10460 passed with stages
in 17 minutes and 7 seconds
......@@ -743,9 +743,8 @@
strings=" "
call cpu_time(tf)
sec=(tf-tini)/60.0
minut=int(sec)
sec=(sec-real(minut))*60.0
minut=int((tf-tini)/60.0)
sec=tf-real(minut)*60.0
write(unit=strings,fmt="(a,f9.5,a,i5,a,i8,a,i5,a,f8.4,a)") " => New Temp:",temp," NT: ",ntp, &
" Number of function evaluations:",neval," Cumulated CPU-time: ",minut," minutes",sec," seconds"
call mess(strings)
......@@ -1744,9 +1743,8 @@
strings=" "
call cpu_time(tf)
sec=(tf-tini)/60.0
minut=int(sec)
sec=(sec-real(minut))*60.0
minut=int((tf-tini)/60.0)
sec=tf-real(minut)*60.0
write(unit=strings,fmt="(a,f9.5,a,i5,a,i8,a,i5,a,f8.4,a)") " => New Temp:",temp," NT: ",ntp, &
" Number of function evaluations:",neval," Cumulated CPU-time: ",minut," minutes",sec," seconds"
call mess(strings)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment