Changeset 960 in Sophya for trunk/SophyaLib/NTools
- Timestamp:
- Apr 18, 2000, 3:57:21 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/NTools/poly.cc
r958 r960 227 227 { 228 228 int n = x.NElts(); 229 if (n != y.NElts()) THROW(sizeMismatchErr);229 if (n != (int)y.NElts()) THROW(sizeMismatchErr); 230 230 231 231 Realloc(degre); … … 262 262 { 263 263 int n = x.NElts(); 264 if (n != y.NElts()) THROW(sizeMismatchErr);265 if (n != erry2.NElts()) THROW(sizeMismatchErr);264 if (n != (int)y.NElts()) THROW(sizeMismatchErr); 265 if (n != (int)erry2.NElts()) THROW(sizeMismatchErr); 266 266 267 267 Realloc(degre); … … 465 465 { 466 466 int n = x.NElts(); 467 if (n != y.NElts()) THROW(sizeMismatchErr);468 if (n != z.NElts()) THROW(sizeMismatchErr);467 if (n != (int)y.NElts()) THROW(sizeMismatchErr); 468 if (n != (int)z.NElts()) THROW(sizeMismatchErr); 469 469 470 470 Realloc(degreX, degreY); … … 508 508 { 509 509 int n = x.NElts(); 510 if (n != y.NElts()) THROW(sizeMismatchErr);511 if (n != z.NElts()) THROW(sizeMismatchErr);512 if (n != errz2.NElts()) THROW(sizeMismatchErr);510 if (n != (int)y.NElts()) THROW(sizeMismatchErr); 511 if (n != (int)z.NElts()) THROW(sizeMismatchErr); 512 if (n != (int)errz2.NElts()) THROW(sizeMismatchErr); 513 513 514 514 Realloc(degreX, degreY); … … 549 549 { 550 550 int n = x.NElts(); 551 if (n != y.NElts()) THROW(sizeMismatchErr);552 if (n != z.NElts()) THROW(sizeMismatchErr);551 if (n != (int)y.NElts()) THROW(sizeMismatchErr); 552 if (n != (int)z.NElts()) THROW(sizeMismatchErr); 553 553 554 554 Realloc(degre, degre); // certains vaudront 0, impose. … … 602 602 { 603 603 int n = x.NElts(); 604 if (n != y.NElts()) THROW(sizeMismatchErr);605 if (n != z.NElts()) THROW(sizeMismatchErr);606 if (n != errz2.NElts()) THROW(sizeMismatchErr);604 if (n != (int)y.NElts()) THROW(sizeMismatchErr); 605 if (n != (int)z.NElts()) THROW(sizeMismatchErr); 606 if (n != (int)errz2.NElts()) THROW(sizeMismatchErr); 607 607 608 608 Realloc(degre, degre); … … 709 709 Poly2& Poly2::operator *= (double a) 710 710 { 711 for (int i=0; i<NElts(); i++) 712 Element(i) *= a; 713 711 for (uint_4 i=0; i<NElts(); i++) Element(i) *= a; 714 712 return *this; 715 713 }
Note:
See TracChangeset
for help on using the changeset viewer.