Changeset 47ab5b in git for Singular/ipshell.cc
- Timestamp:
- Feb 8, 2012, 6:48:08 PM (12 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- e5fc00c615e47e7757b8c95660e3a8ac06ffdef0
- Parents:
- 237b4dda7a8a6ccfcc5966b92c779cebeebc30cc
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-08 18:48:08+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-08 22:31:58+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipshell.cc
r237b4dd r47ab5b 1695 1695 { 1696 1696 L->m[2].rtyp=STRING_CMD; 1697 L->m[2].data=(void *)omStrDup( rParameter(R)[0]);1697 L->m[2].data=(void *)omStrDup(*rParameter(R)); 1698 1698 } 1699 1699 // ---------------------------------------- … … 1756 1756 // ---------------------------------------- 1757 1757 // 0: char/ cf - ring 1758 #if 1 /* TODO */1759 1758 if (rField_is_numeric(r)) 1760 1759 { … … 1775 1774 1776 1775 rDecomposeCF(&(L->m[0]), r->cf->extRing, r); 1777 }else 1776 } 1777 else 1778 1778 { 1779 1779 assume( nCoeff_is_GF(r->cf) ); … … 1788 1788 Lv->Init(1); 1789 1789 Lv->m[0].rtyp=STRING_CMD; 1790 Lv->m[0].data=(void *)omStrDup( rParameter(r)[0]);1790 Lv->m[0].data=(void *)omStrDup(*rParameter(r)); 1791 1791 Lc->m[1].rtyp=LIST_CMD; 1792 1792 Lc->m[1].data=(void*)Lv; … … 1822 1822 } 1823 1823 else 1824 #endif1825 1824 { 1826 1825 L->m[0].rtyp=INT_CMD; … … 1904 1903 L->m[3].data=(void *)idCopy(r->qideal); 1905 1904 // ---------------------------------------- 1906 1905 #ifdef HAVE_PLURAL // NC! in rDecompose 1907 1906 if (rIsPluralRing(r)) 1908 1907 { … … 1912 1911 L->m[5].data=(void *)mp_Copy(r->GetNC()->D, r, r); 1913 1912 } 1914 1913 #endif 1915 1914 return L; 1916 1915 } … … 1926 1925 return; 1927 1926 } 1928 R->cf->ch=-1;1927 // R->cf->ch=0; 1929 1928 // ---------------------------------------- 1930 1929 // 1: … … 5062 5061 5063 5062 // set the parameter name 5064 if (complex_flag) { 5065 if (pn->next == NULL) 5066 param.par_name=(const char*)"i"; //default to i 5067 else 5068 param.par_name = (const char*)pn->next->name; 5063 if (complex_flag) 5064 { 5065 if (pn->next == NULL) 5066 param.par_name=(const char*)"i"; //default to i 5067 else 5068 param.par_name = (const char*)pn->next->name; 5069 5069 } 5070 5070
Note: See TracChangeset
for help on using the changeset viewer.