]> git.kaiwu.me - klib.git/commitdiff
Added the license to kmin
authorAttractive Chaos <attractor@live.co.uk>
Thu, 13 Jan 2011 17:44:38 +0000 (12:44 -0500)
committerAttractive Chaos <attractor@live.co.uk>
Thu, 13 Jan 2011 17:44:38 +0000 (12:44 -0500)
kmin.c
kmin.h

diff --git a/kmin.c b/kmin.c
index 8cb0acfe032b781920c8ada44aa6fab5e03b5bbb..99ace79a483f17cb702710f1626db0081aca3b14 100644 (file)
--- a/kmin.c
+++ b/kmin.c
@@ -1,6 +1,6 @@
 /* The MIT License
 
-   Copyright (c) 2008, by Heng Li <lh3@live.co.uk>
+   Copyright (c) 2008, 2010 by Attractive Chaos <attractor@live.co.uk>
 
    Permission is hereby granted, free of charge, to any person obtaining
    a copy of this software and associated documentation files (the
@@ -24,7 +24,6 @@
 */
 
 /* Hooke-Jeeves algorithm for nonlinear minimization
-   Heng Li, Februay 3, 2008
  
    Based on the pseudocodes by Bell and Pike (CACM 9(9):684-685), and
    the revision by Tomlin and Smith (CACM 12(11):637-638). Both of the
diff --git a/kmin.h b/kmin.h
index 4298b3f560caec7003bf89e23016c41202e7d534..369019ea542e760abd0f6ef658eaf14402bb7e92 100644 (file)
--- a/kmin.h
+++ b/kmin.h
@@ -1,3 +1,27 @@
+/*
+   Copyright (c) 2008, 2010 by Attractive Chaos <attractor@live.co.uk>
+
+   Permission is hereby granted, free of charge, to any person obtaining
+   a copy of this software and associated documentation files (the
+   "Software"), to deal in the Software without restriction, including
+   without limitation the rights to use, copy, modify, merge, publish,
+   distribute, sublicense, and/or sell copies of the Software, and to
+   permit persons to whom the Software is furnished to do so, subject to
+   the following conditions:
+
+   The above copyright notice and this permission notice shall be
+   included in all copies or substantial portions of the Software.
+
+   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+   NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+   BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+   ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+   CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+   SOFTWARE.
+*/
+
 #ifndef KMIN_H
 #define KMIN_H