Changeset 84d05f8 in git


Ignore:
Timestamp:
Jan 25, 2007, 8:42:26 PM (17 years ago)
Author:
Motsak Oleksandr <motsak@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
603d451f8e2d1a13a2299b7b484a8db3ded8f19b
Parents:
fb68e57432acfe2183f61a1a637b9b330353fdc3
Message:
*motsak: correct SPoly should not crash on wrong input polynomials!


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

Legend:

Unmodified
Added
Removed
  • kernel/gring.cc

    rfb68e57 r84d05f8  
    77 *  Author:  levandov (Viktor Levandovsky)
    88 *  Created: 8/00 - 11/00
    9  *  Version: $Id: gring.cc,v 1.37 2007-01-24 17:16:48 bricken Exp $
     9 *  Version: $Id: gring.cc,v 1.38 2007-01-25 19:42:26 motsak Exp $
    1010 *******************************************************************/
    1111#include "mod2.h"
     
    13631363  poly M2    = mm_Mult_p(m2,p_Head(p2,r),r); // M2 = m2 * lt(p2)
    13641364
    1365 #ifdef PDEBUG
    13661365  if(M1 == NULL || M2 == NULL)
    13671366  {
     1367#ifdef PDEBUG
    13681368       Print("\np1 = ");
    13691369       p_Write(p1, r);
     
    13791379
    13801380       Werror("ERROR in nc_CreateSpoly: result of multiplication is Zero!\n");
    1381   }
    1382 #endif
     1381#endif
     1382       return(NULL);
     1383  }
    13831384
    13841385  number C1  = n_Copy(p_GetCoeff(M1,r),r);      // C1 = lc(M1)
Note: See TracChangeset for help on using the changeset viewer.