| Type |
Page |
Error |
Correction |
| Typographical |
591 |
Chapter title(!): "Sparse Matrix" |
Should be "Sparse Matrices" |
| Technical |
595 |
Diagram (Figure 15.3) is hosed. The indicator 'size of array element' actually indicates about 1.5 elements! |
The indicator should indicate only the actual size of array[0][0]. |
| Typographical |
600 |
"thousands of active cells" |
Should read "thousands of inactive cells" |
| Typographical |
610 |
%dn |
Should read %d\n |
| Technical |
610 |
exit(matrix.error_no) isn't semantically portable. |
exit(EXIT_FAILURE) is better. |
| Typographical |
610 |
matrixn |
Should read matrix\n |
| Typographical |
610 |
dimension %d |
Should read dimension %d\n |
| Technical |
613 |
<sparse.h> |
Should read "sparse.h" |
| Typographical |
613 |
%dn |
Should read %d\n |
| Technical |
615 |
Various casts, and use of sizeof(type) rather than sizeof *p. These aren't, strictly speaking, errors. Certainly the casts are okay, provided stdlib.h has been included. It's considered better style, however, not to cast
unless there are really good reasons for it, which is rare, and using sizeof *p rather than sizeof(type of *p) is less likely to introduce maintenance errors, should the type of p change later on in the development cycle. |
No correction is necessary; we simply draw these facts to your attention, for your consideration. |
| Technical |
616 |
<sparse.h> |
Should read "sparse.h" |
| Typographical |
623 |
planer |
planar |
| Typographical |
639 |
headr |
header |
| Typographical |
640 |
Right at the bottom of the page: "have been discussed." |
"were discussed." |