[libfann] 20/242: minor error

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 d2b441c8316492b27c9d0e750ffd21090ee16470
Author: Steffen Nissen <lukesky at diku.dk>
Date:   Tue Dec 9 09:43:42 2003 +0000

    minor error
---
 benchmarks/quality.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/benchmarks/quality.cc b/benchmarks/quality.cc
index 48ae65e..63bbdb3 100644
--- a/benchmarks/quality.cc
+++ b/benchmarks/quality.cc
@@ -188,7 +188,7 @@ void quality_benchmark_fann(bool stepwise,
 
 		/* Save the data as fixed point, to allow for drawing of
 		   a fixed point graph */
-		if(connection_rate == 1){
+		if(!stepwise){
 			/* buffer overflow could occur here */
 			sprintf(fixed_point_file, "%05d_%f_%s_fixed", epochs, total_elapsed, filename);
 			decimal_point = fann_save_to_fixed(ann, fixed_point_file);

-- 
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