Changeset fd283f in git
- Timestamp:
- Sep 2, 2005, 2:46:36 PM (19 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 8cf38f089d6e1aa2fbd054c50d343ec69c9b5e47
- Parents:
- b9cdd505cb9d36240d08be367b2487cffda020cf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/Poly.h
rb9cdd5 rfd283f 1 //$Id: Poly.h,v 1.2 2 2005-08-24 09:27:48 brickenExp $1 //$Id: Poly.h,v 1.23 2005-09-02 12:46:36 Singular Exp $ 2 2 3 3 … … 384 384 return *this; 385 385 } 386 PolyBase& operator*=(const Poly & p2){ 387 copy_on_write(); 388 *ptr *= *p2.ptr; 389 390 return *this; 391 } 386 PolyBase& operator*=(const Poly & p2); 392 387 PolyBase& operator*=(Number n){ 393 388 copy_on_write(); … … 616 611 return Vector(p,r,0); 617 612 } 613 614 template <poly_variant variant, class create_type> 615 616 inline PolyBase<variant, create_type>& 617 PolyBase<variant, create_type>::operator*=(const Poly & p2){ 618 copy_on_write(); 619 *ptr *= *p2.ptr; 620 621 return *this; 622 } 618 623 #endif
Note: See TracChangeset
for help on using the changeset viewer.