Changeset a1ada5 in git


Ignore:
Timestamp:
Sep 29, 2009, 12:37:15 PM (15 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
8388ca6fcf9818d8283cb348a276e3df373686bf
Parents:
fda6e6ef5610f3872c7b9c6228cba279a73c792c
Message:
*hannes: fixed U in division


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

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    rfda6e6e ra1ada5  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: iparith.cc,v 1.517 2009-09-25 08:00:48 Singular Exp $ */
     4/* $Id: iparith.cc,v 1.518 2009-09-29 10:37:15 Singular Exp $ */
    55
    66/*
     
    19411941  // now make sure that all matices have the corect size:
    19421942  matrix T = idModule2formatedMatrix(m,vl,ul);
     1943  int i;
    19431944  if (MATCOLS(U) != ul)
    19441945  {
    19451946    int mul=si_min(ul,MATCOLS(U));
    19461947    matrix UU=mpNew(ul,ul);
    1947     int i,j;
     1948    int j;
    19481949    for(i=mul;i>0;i--)
    19491950    {
     
    19561957    idDelete((ideal *)&U);
    19571958    U=UU;
     1959  }
     1960  // make sure that U is a diagonal matrix of units
     1961  for(i=ul;i>0;i--)
     1962  {
     1963    if(MATELEM(U,i,i)==NULL) MATELEM(U,i,i)=pOne();
    19581964  }
    19591965  lists L=(lists)omAllocBin(slists_bin);
Note: See TracChangeset for help on using the changeset viewer.