SCM Repository
Diff of /branches/pure-cfg/src/lib/main.c
Parent Directory
|
Revision Log
|
Patch
revision 618, Mon Mar 14 13:21:58 2011 UTC | revision 619, Mon Mar 14 13:22:43 2011 UTC | |
---|---|---|
# | Line 78 | Line 78 |
78 | for (int c = 0; c <= 199; c++) { | for (int c = 0; c <= 199; c++) { |
79 | int i = NC*r + c; | int i = NC*r + c; |
80 | float outV = getOutf (in[i]); | float outV = getOutf (in[i]); |
81 | if (outV < 0) | fprintf (outS, "%f\n", outV); |
fprintf (outS, "%.4f\n", 0.0f); | ||
else | ||
fprintf (outS, "%.4f\n", outV); | ||
82 | } | } |
83 | } | } |
84 | fclose (outS); | fclose (outS); |
|
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |