ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/neuclrtab.c
(Generate patch)

Comparing ray/src/px/neuclrtab.c (file contents):
Revision 2.9 by greg, Sat Feb 22 02:07:27 2003 UTC vs.
Revision 2.10 by schorsch, Mon Jun 30 14:59:12 2003 UTC

# Line 5 | Line 5 | static const char      RCSid[] = "$Id$";
5   * Neural-Net quantization algorithm based on work of Anthony Dekker
6   */
7  
8 < #include "standard.h"
8 > #include "copyright.h"
9  
10 < #include "color.h"
10 > #include <string.h>
11  
12 + #include "standard.h"
13 + #include "color.h"
14   #include "random.h"
15  
16   #ifdef COMPAT_MODE
# Line 182 | Line 184 | int    n;
184                          return;
185                  }
186                  N = n;
187 <                bzero((char *)cerr, 3*N*sizeof(short));
187 >                memset((char *)cerr, '\0', 3*N*sizeof(short));
188          }
189          err[0] = err[1] = err[2] = 0;
190          for (x = 0; x < n; x++) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines