Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis12/test/iso2d-polyline/main.c
ViewVC logotype

Diff of /branches/vis12/test/iso2d-polyline/main.c

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

revision 1731, Tue Mar 13 14:07:55 2012 UTC revision 1732, Tue Mar 13 14:08:41 2012 UTC
# Line 25  Line 25 
25      Nrrd *nData = nrrdNew();      Nrrd *nData = nrrdNew();
26      if (ISO_Get_path (wrld, nLengths, nData)) {      if (ISO_Get_path (wrld, nLengths, nData)) {
27        // error        // error
28            fprintf(stderr, "Error getting nrrd data: %s\n", ((WorldPrefix_t *)wrld)->err);
29            return 1;
30        }
31    
32        if (nrrdSave("lengths.nrrd", nLengths, NULL) || nrrdSave("data.nrrd", nData, NULL)) {
33            char *err = biffGetDone(NRRD);
34            fprintf(stderr, "Trouble saving nrrd struct: %s\n", err);
35            return 1;
36      }      }
37    
38      ISO_Shutdown (wrld);      ISO_Shutdown (wrld);

Legend:
Removed from v.1731  
changed lines
  Added in v.1732

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0