|
From: Herton R. K. <he...@us...> - 2005-04-08 01:16:56
|
Update of /cvsroot/kimageprocess/kimageprocess/testclass In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18167/testclass Modified Files: testclass.c Log Message: - Now comments are included in generated res file to be compatible with current res2pgm. Index: testclass.c =================================================================== RCS file: /cvsroot/kimageprocess/kimageprocess/testclass/testclass.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- testclass.c 7 Apr 2005 06:19:56 -0000 1.15 +++ testclass.c 8 Apr 2005 01:16:48 -0000 1.16 @@ -262,10 +262,12 @@ fatal(errno); if (fprintf(pr_file, "startpattern : 1\n") < 0) fatal(errno); - if (fprintf(pr_file, "endpattern : %d\n\n", c_patData.numPatterns) < 0) + if (fprintf(pr_file, "endpattern : %d\n", c_patData.numPatterns) < 0) fatal(errno); for (npat = 0; npat < c_patData.numPatterns; npat++) { + if (fprintf(pr_file, "#%d.1\n", npat + 1) < 0) + fatal(errno); result = fann_run(tfann, c_patData.inputValues[npat]); for (c = 0; c < t_patData.numOutputUnits; c++) { |