From 338caefdec0ebb835cb6d4039fd5f4b16ca9b640 Mon Sep 17 00:00:00 2001
From: Matthew Webster <mwebster@fmrib.ox.ac.uk>
Date: Fri, 24 Feb 2012 14:05:32 +0000
Subject: [PATCH] fixes for header

---
 optimise.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/optimise.h b/optimise.h
index 58ff8b1..1aaa3ff 100644
--- a/optimise.h
+++ b/optimise.h
@@ -14,6 +14,7 @@
 
 #include <cmath>
 #include "newmatap.h"
+#include "string"
 
 using namespace NEWMAT;
 
@@ -28,7 +29,7 @@ float optimise1d(ColumnVector &pt, const ColumnVector dir,
  float optimise(ColumnVector &pt, int numopt, const ColumnVector &tol, 
 		float (*func)(const ColumnVector &), int &iterations_done, 
 		int max_iter, const ColumnVector& boundguess, 
-		const string type="brent");
+		const std::string type="brent");
 
 }
 
-- 
GitLab