SCM

SCM Repository

[matrix] Diff of /pkg/src/dsCMatrix.c
ViewVC logotype

Diff of /pkg/src/dsCMatrix.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1866, Mon Jun 4 17:11:11 2007 UTC revision 1867, Mon Jun 4 17:13:02 2007 UTC
# Line 97  Line 97 
97          return R_NilValue;          return R_NilValue;
98      nms = getAttrib(facs, R_NamesSymbol);      nms = getAttrib(facs, R_NamesSymbol);
99      for (i = 0; i < LENGTH(nms); i++) {      for (i = 0; i < LENGTH(nms); i++) {
100          char *nm = CHAR(STRING_ELT(nms, i));          const char *nm = CHAR(STRING_ELT(nms, i));
101          if (strlen(nm) > offset && !strcmp(pat + offset, nm + offset))          if (strlen(nm) > offset && !strcmp(pat + offset, nm + offset))
102              return VECTOR_ELT(facs, i);              return VECTOR_ELT(facs, i);
103      }      }

Legend:
Removed from v.1866  
changed lines
  Added in v.1867

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business University of Wisconsin - Madison Powered By FusionForge