Changeset f10ce98 in tol


Ignore:
Timestamp:
Jun 21, 2012, 10:59:43 AM (14 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
30b29f9
Parents:
b4b0294
Message:

Fixes #1566 in 3.2

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@4852 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/btol/polynomial_type/polgra.cpp

    rb4b0294 rf10ce98  
    479479  BMat& M = Mat(Arg(1));
    480480  BInt c = M.Columns();
     481  BInt r = M.Rows();
     482  if(!c || !r)
     483  {
     484    Error("Cannot apply MatPol to empty matrix");
     485    return;
     486  }
    481487  BInt i;
    482488  contens_.ReallocBuffer(c);
Note: See TracChangeset for help on using the changeset viewer.