Changeset 9102bb in git for Singular/dyn_modules/freealgebra/freealgebra.cc
- Timestamp:
- Aug 6, 2019, 3:21:38 PM (5 years ago)
- Branches:
- (u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
- Children:
- 695288e2d57e72ad6969a3bdcc02d8d019857a56
- Parents:
- 48f20b0402356f0f7fa136772209441b8b6d869cf006a1a0d5b28b1d503bf27a7ce5902096a20eba
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2019-08-06 15:21:38+02:00
- git-committer:
- GitHub <noreply@github.com>2019-08-06 15:21:38+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/dyn_modules/freealgebra/freealgebra.cc
r48f20b r9102bb 5 5 { 6 6 const short t1[]={2,RING_CMD,INT_CMD}; 7 if (iiCheckTypes(args,t1,1)) 7 const short t2[]={3,RING_CMD,INT_CMD,INT_CMD}; 8 if (iiCheckTypes(args, t2, 0) || iiCheckTypes(args, t1, 1)) 8 9 { 9 10 ring r=(ring)args->Data(); … … 32 33 return TRUE; 33 34 } 34 ring R=freeAlgebra(r,d); 35 int ncGenCount = 0; 36 if (iiCheckTypes(args,t2,0)) 37 ncGenCount = (int)(long) args->next->next->Data(); 38 ring R=freeAlgebra(r,d,ncGenCount); 35 39 res->rtyp=RING_CMD; 36 40 res->data=R;
Note: See TracChangeset
for help on using the changeset viewer.