Changeset 5460
- Timestamp:
- May 7, 2015, 4:37:39 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nanovis/trunk/Unirect.cpp
r5430 r5460 539 539 return false; 540 540 } 541 } else if (sscanf(line, "object %*d class array type %*s shape 3"542 " rank 1items %d data follows", &npts) == 1) {541 } else if (sscanf(line, "object %*d class array type %*s rank 1" 542 " shape 3 items %d data follows", &npts) == 1) { 543 543 if (npts < 0) { 544 544 ERROR("bad # points %d", npts); … … 546 546 } 547 547 TRACE("#points=%d", npts); 548 if (npts != nx*ny*nz) {549 ERROR("inconsistent data: expected %d points"550 " but found %d points", nx*ny*nz, npts);551 return false;552 }553 break;554 } else if (sscanf(line, "object %*d class array type %*s rank 0"555 " times %d data follows", &npts) == 1) {556 548 if (npts != nx*ny*nz) { 557 549 ERROR("inconsistent data: expected %d points"
Note: See TracChangeset
for help on using the changeset viewer.