Changeset 5461
- Timestamp:
- May 7, 2015 4:38:35 AM (8 years ago)
- Location:
- nanovis/branches/1.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
nanovis/branches/1.2
- Property svn:mergeinfo changed
/nanovis/trunk merged: 5460
- Property svn:mergeinfo changed
-
nanovis/branches/1.2/Unirect.cpp
r5431 r5461 538 538 return false; 539 539 } 540 } else if (sscanf(line, "object %*d class array type %*s shape 3"541 " rank 1items %d data follows", &npts) == 1) {540 } else if (sscanf(line, "object %*d class array type %*s rank 1" 541 " shape 3 items %d data follows", &npts) == 1) { 542 542 if (npts < 0) { 543 543 ERROR("bad # points %d", npts); … … 545 545 } 546 546 TRACE("#points=%d", npts); 547 if (npts != nx*ny*nz) {548 ERROR("inconsistent data: expected %d points"549 " but found %d points", nx*ny*nz, npts);550 return false;551 }552 break;553 } else if (sscanf(line, "object %*d class array type %*s rank 0"554 " times %d data follows", &npts) == 1) {555 547 if (npts != nx*ny*nz) { 556 548 ERROR("inconsistent data: expected %d points"
Note: See TracChangeset
for help on using the changeset viewer.