This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "roboptim-core-plugin-ipopt".

The branch, master has been updated
       via  ed8668d4c5760f83f07ecf8f4dd35f1592565fc4 (commit)
      from  9781013753b520a4917f6d12ce6aaea75f840afc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ed8668d4c5760f83f07ecf8f4dd35f1592565fc4
Author: Thomas Moulard <thomas.moul...@gmail.com>
Date:   Wed Apr 14 18:49:26 2010 +0200

    Uniformize behavior on Windows and Unix.
    
        * src/roboptim-core-ipopt-plugin.cc: Merge Windows and Linux
        specific constructors.
    
    Signed-off-by: Thomas Moulard <thomas.moul...@gmail.com>

diff --git a/ChangeLog b/ChangeLog
index c9294a8..76861fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-04-14  Thomas Moulard  <thomas.moul...@gmail.com>
+
+       Uniformize behavior on Windows and Unix.
+       * src/roboptim-core-ipopt-plugin.cc: Merge Windows and Linux
+       specific constructors.
+
 2010-03-01  Thomas Moulard  <thomas.moul...@gmail.com>
 
        Add rpm SPEC file.
diff --git a/src/roboptim-core-ipopt-plugin.cc 
b/src/roboptim-core-ipopt-plugin.cc
index ad9bc27..a450d90 100644
--- a/src/roboptim-core-ipopt-plugin.cc
+++ b/src/roboptim-core-ipopt-plugin.cc
@@ -499,17 +499,15 @@ namespace roboptim
 
   using namespace detail;
 
+
+  // On Microsoft Windows, working with pre-built Ipopt
+  // binaries requires the use of the IpoptApplicationFactory.
   IpoptSolver::IpoptSolver (const problem_t& pb) throw ()
     : parent_t (pb),
       nlp_ (new MyTNLP (*this)),
-#ifndef WIN32
-      app_ (new IpoptApplication (false, false))
-  {
-#else
-      app_ (IpoptApplicationFactory ( ))
+      app_ (IpoptApplicationFactory ())
   {
-       app_->Jnlst()->DeleteAllJournals();
-#endif // WIN32
+    app_->Jnlst()->DeleteAllJournals();
     // Initialize parameters.
     initializeParameters ();
   }

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                         |    6 ++++++
 src/roboptim-core-ipopt-plugin.cc |   12 +++++-------
 2 files changed, 11 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
roboptim-core-plugin-ipopt

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
roboptim-commit mailing list
roboptim-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/roboptim-commit

Reply via email to