Make the linter happy.
This commit is contained in:
parent
e3be1094ea
commit
3bcb5b95e7
@ -152,9 +152,10 @@ func (solver *Solver) Tracker() {
|
|||||||
est, err := time.ParseDuration(duration_string)
|
est, err := time.ParseDuration(duration_string)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
est_fin = "parse error"
|
est_fin = "parse error"
|
||||||
}
|
} else {
|
||||||
est_fin = est.String()
|
est_fin = est.String()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Printing the progress
|
// Printing the progress
|
||||||
log.Println("Processing: " + strconv.Itoa(int(percentage)) + "% (" + strconv.FormatInt(solver.counter.Load(), 10) + "/" + strconv.Itoa(int(solver.Iter)) + "); Rate: " + strconv.FormatInt(rateDiff, 10) + "/sec for " + timer_elapsed.String() + "; Time left (est.): " + est_fin)
|
log.Println("Processing: " + strconv.Itoa(int(percentage)) + "% (" + strconv.FormatInt(solver.counter.Load(), 10) + "/" + strconv.Itoa(int(solver.Iter)) + "); Rate: " + strconv.FormatInt(rateDiff, 10) + "/sec for " + timer_elapsed.String() + "; Time left (est.): " + est_fin)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user