Changeset ee2d4d in git


Ignore:
Timestamp:
Aug 26, 2018, 11:32:06 AM (5 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '2fa36c576e6a4ddbb1093b43c7f8e9835e17e52a')
Children:
53238ada2509c5e616157c153594cd6ff9f936be
Parents:
b4976474e098cd507f0f7546f91de0121097e7d0
Message:
fix: construct Float-cf
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/ipshell.cc

    rb49764 ree2d4d  
    22732273    R->cf = nInitChar(n_long_C, NULL);
    22742274  else if ((r1<=SHORT_REAL_LENGTH)
    2275   && (r2=SHORT_REAL_LENGTH))
     2275  && (r2<=SHORT_REAL_LENGTH))
    22762276    R->cf = nInitChar(n_R, NULL);
    22772277  else
     
    22802280    p->float_len=r1;
    22812281    p->float_len2=r2;
    2282     R->cf = nInitChar(n_long_R, NULL);
     2282    R->cf = nInitChar(n_long_R, p);
    22832283  }
    22842284
    22852285  if ((r1<=SHORT_REAL_LENGTH)   // should go into nInitChar
    2286   && (r2=SHORT_REAL_LENGTH))
     2286  && (r2<=SHORT_REAL_LENGTH))
    22872287  {
    22882288    R->cf->float_len=SHORT_REAL_LENGTH/2;
     
    24772477      else
    24782478      {
    2479         Werror("var name %d must be `string`",i+1);
     2479        Werror("var name %d must be `string` (not %d)",i+1i, v->m[i].Typ());
    24802480        return TRUE;
    24812481      }
Note: See TracChangeset for help on using the changeset viewer.