From 70390e052c58e0e85aa9e42acd7521e9c1190f09 Mon Sep 17 00:00:00 2001
From: "Liam M. Healy" <lnp@healy.washington.dc.us>
Date: Thu, 19 Aug 2010 16:43:59 -0400
Subject: [PATCH] Fix simulated annealing for new grid:copy

---
 solve-minimize-fit/simulated-annealing.lisp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/solve-minimize-fit/simulated-annealing.lisp b/solve-minimize-fit/simulated-annealing.lisp
index 77034f3b..1f1f3815 100644
--- a/solve-minimize-fit/simulated-annealing.lisp
+++ b/solve-minimize-fit/simulated-annealing.lisp
@@ -1,6 +1,6 @@
 ;; Simulated Annealing
 ;; Liam Healy Sun Feb 11 2007 - 17:23
-;; Time-stamp: <2010-06-30 19:57:28EDT simulated-annealing.lisp>
+;; Time-stamp: <2010-08-19 15:51:55EDT simulated-annealing.lisp>
 ;;
 ;; Copyright 2007, 2008, 2009 Liam M. Healy
 ;; Distributed under the terms of the GNU General Public License
@@ -249,7 +249,8 @@
    'trivial-test-energy
    'trivial-example-step
    'trivial-example-metric
-   'copy))
+   (lambda (source destination) 	; needs to take a destination
+     (grid:copy source :destination destination))))
 
 #|
 ;;; These tests should all come out within 1.0e-3 relative of the true
-- 
GitLab