Skip to content

Commit

Permalink
fixed benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
Ximsa committed Oct 13, 2021
1 parent eae0390 commit a3a2be6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/benchmark/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
(require '[clojure.pprint :as pp])

(defn getBest []
(last (sort-by psa/fitness (map deref psa/groupBest))))
(:position (last (sort-by :fitness (map deref psa/groupBest)))))

;;---------------------------- Benchmark for analytical test function h1
(def dim 2) ;; Dimension
Expand Down

0 comments on commit a3a2be6

Please sign in to comment.