Changeset fd283f in git


Ignore:
Timestamp:
Sep 2, 2005, 2:46:36 PM (19 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
8cf38f089d6e1aa2fbd054c50d343ec69c9b5e47
Parents:
b9cdd505cb9d36240d08be367b2487cffda020cf
Message:
*bricken: invalid use of forward declarated Poly fixed


git-svn-id: file:///usr/local/Singular/svn/trunk@8588 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/Poly.h

    rb9cdd5 rfd283f  
    1 //$Id: Poly.h,v 1.22 2005-08-24 09:27:48 bricken Exp $
     1//$Id: Poly.h,v 1.23 2005-09-02 12:46:36 Singular Exp $
    22
    33
     
    384384    return *this;
    385385  }
    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);
    392387  PolyBase& operator*=(Number n){
    393388    copy_on_write();
     
    616611  return Vector(p,r,0);
    617612}
     613
     614template <poly_variant variant, class create_type>
     615   
     616inline PolyBase<variant, create_type>&
     617PolyBase<variant, create_type>::operator*=(const Poly & p2){
     618    copy_on_write();
     619    *ptr *= *p2.ptr;
     620   
     621    return *this;
     622  }
    618623#endif
Note: See TracChangeset for help on using the changeset viewer.