[libfann] 15/242: final change for releas 1.0.2

Christian Kastner chrisk-guest at moszumanska.debian.org
Sat Oct 4 21:10:14 UTC 2014


This is an automated email from the git hooks/post-receive script.

chrisk-guest pushed a commit to tag Version2_0_0
in repository libfann.

commit 6d087f009881bf030968ef3ed3fb7a6dfff5460b
Author: Steffen Nissen <lukesky at diku.dk>
Date:   Thu Nov 13 09:27:31 2003 +0000

    final change for releas 1.0.2
---
 ChangeLog                   | 9 +++++++--
 src/fann.c                  | 8 ++++----
 src/include/fann_internal.h | 4 ++--
 3 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7701efd..b68da18 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,12 @@
-1.0.1	2003-10-03
+1.0.2	2003-11-13
+	* Added configure script
+	* Moved files around, to make the transition to configure more easy
+	* Removed other versions of documentation than pdf
+	
+1.0.1	2003-11-03
 	* Bugfix concerning steepness parameter
 	* Moved some files around
 	* Added the changelog
 	
-1.0	2003-10-01
+1.0	2003-11-01
 	* Initial release of full functioning library
diff --git a/src/fann.c b/src/fann.c
index abdde7b..8b97e33 100644
--- a/src/fann.c
+++ b/src/fann.c
@@ -267,12 +267,12 @@ struct fann * fann_create_from_file(const char *configuration_file)
 		return NULL;
 	}
 	
-	read_version = (char *)calloc(strlen(FANN_VERSION"\n"), 1);
-	fread(read_version, 1, strlen(FANN_VERSION"\n"), conf); /* reads version */
+	read_version = (char *)calloc(strlen(FANN_CONF_VERSION"\n"), 1);
+	fread(read_version, 1, strlen(FANN_CONF_VERSION"\n"), conf); /* reads version */
 	
 	/* compares the version information */
-	if(strncmp(read_version, FANN_VERSION"\n", strlen(FANN_VERSION"\n")) != 0){
-		printf("Wrong version, aborting read of configuration file \"%s\".\n", configuration_file);
+	if(strncmp(read_version, FANN_CONF_VERSION"\n", strlen(FANN_CONF_VERSION"\n")) != 0){
+		printf("Wrong version of configuration file, aborting read of configuration file \"%s\".\n", configuration_file);
 		return NULL;
 	}
 
diff --git a/src/include/fann_internal.h b/src/include/fann_internal.h
index f4d248a..9bdd5bf 100644
--- a/src/include/fann_internal.h
+++ b/src/include/fann_internal.h
@@ -29,9 +29,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 #define FANN_FLO_VERSION "FANN_FLO_1.0"
 
 #ifdef FIXEDFANN
-#define FANN_VERSION FANN_FIX_VERSION
+#define FANN_CONF_VERSION FANN_FIX_VERSION
 #else
-#define FANN_VERSION FANN_FLO_VERSION
+#define FANN_CONF_VERSION FANN_FLO_VERSION
 #endif
 
 struct fann * fann_allocate_structure(float learning_rate, unsigned int num_layers);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libfann.git



More information about the debian-science-commits mailing list