Changeset 495328 in git for dyn_modules/syzextra/mod_main.cc
- Timestamp:
- Aug 2, 2012, 8:11:43 PM (12 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 5cecde90d96d1acc0cbd216cf0037bd2db293c31
- Parents:
- dd24e5dded66979eda13e955b93fc284cbb341e7
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-08-02 20:11:43+02:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-05-07 04:41:46+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dyn_modules/syzextra/mod_main.cc
rdd24e5 r495328 517 517 // const BOOLEAN __TAILREDSYZ__ = attributes.__TAILREDSYZ__; 518 518 519 const ring r = currRing;519 const ring r = attributes.m_rBaseRing; 520 520 NoReturn(res); 521 521 … … 544 544 h = h->Next(); assume (h == NULL); 545 545 546 const ideal newid = ComputeLeadingSyzygyTerms(id, r,attributes);546 const ideal newid = ComputeLeadingSyzygyTerms(id, attributes); 547 547 548 548 res->data = newid; res->rtyp = MODUL_CMD; … … 569 569 NoReturn(res); 570 570 571 const ring r = currRing;571 const ring r = attributes.m_rBaseRing; 572 572 NoReturn(res); 573 573 … … 629 629 // const BOOLEAN __TAILREDSYZ__ = attributes.__TAILREDSYZ__; 630 630 631 const ring r = currRing;631 const ring r = attributes.m_rBaseRing; 632 632 NoReturn(res); 633 633 … … 656 656 h = h->Next(); assume (h == NULL); 657 657 658 res->data = Compute2LeadingSyzygyTerms(id, r,attributes);658 res->data = Compute2LeadingSyzygyTerms(id, attributes); 659 659 res->rtyp = MODUL_CMD; 660 660 … … 680 680 681 681 const char* usage = "`FindReducer(<poly/vector>, <vector/0>, <ideal/module>[,<module>])` expected"; 682 const ring r = currRing;682 const ring r = attributes.m_rBaseRing; 683 683 684 684 NoReturn(res); … … 750 750 751 751 res->rtyp = VECTOR_CMD; 752 res->data = FindReducer(product, syzterm, L, LS, r,attributes);752 res->data = FindReducer(product, syzterm, L, LS, attributes); 753 753 754 754 if( __DEBUG__ ) … … 774 774 775 775 const char* usage = "`SchreyerSyzygyNF(<vector>, <vector>, <ideal/module>, <ideal/module>[,<module>])` expected"; 776 const ring r = currRing;776 const ring r = attributes.m_rBaseRing; 777 777 778 778 NoReturn(res); … … 852 852 853 853 res->rtyp = VECTOR_CMD; 854 res->data = SchreyerSyzygyNF(syz_lead, syz_2, L, T, LS, r,attributes);854 res->data = SchreyerSyzygyNF(syz_lead, syz_2, L, T, LS, attributes); 855 855 856 856 if( __DEBUG__ ) … … 873 873 874 874 const BOOLEAN __DEBUG__ = attributes.__DEBUG__; 875 const BOOLEAN __SYZCHECK__ = attributes.__SYZCHECK__;875 // const BOOLEAN __SYZCHECK__ = attributes.__SYZCHECK__; 876 876 // const BOOLEAN __LEAD2SYZ__ = attributes.__LEAD2SYZ__; 877 877 // const BOOLEAN __HYBRIDNF__ = attributes.__HYBRIDNF__; … … 879 879 880 880 const char* usage = "`ReduceTerm(<poly>, <poly/vector>, <vector/0>, <ideal/module>, <ideal/module>[,<module>])` expected"; 881 const ring r = currRing;881 const ring r = attributes.m_rBaseRing; 882 882 883 883 NoReturn(res); … … 970 970 971 971 972 if (__ SYZCHECK__ && syztermCheck != NULL)972 if (__DEBUG__ && syztermCheck != NULL) 973 973 { 974 974 const int c = p_GetComp(syztermCheck, r) - 1; … … 992 992 993 993 res->rtyp = VECTOR_CMD; 994 res->data = ReduceTerm(multiplier, term4reduction, syztermCheck, L, T, LS, r,attributes);994 res->data = ReduceTerm(multiplier, term4reduction, syztermCheck, L, T, LS, attributes); 995 995 996 996 … … 1021 1021 1022 1022 const char* usage = "`TraverseTail(<poly>, <poly/vector>, <ideal/module>, <ideal/module>[,<module>])` expected"; 1023 const ring r = currRing;1023 const ring r = attributes.m_rBaseRing; 1024 1024 1025 1025 NoReturn(res); … … 1099 1099 1100 1100 res->rtyp = VECTOR_CMD; 1101 res->data = TraverseTail(multiplier, tail, L, T, LS, r,attributes);1101 res->data = TraverseTail(multiplier, tail, L, T, LS, attributes); 1102 1102 1103 1103 … … 1126 1126 1127 1127 const char* usage = "`ComputeSyzygy(<ideal/module>, <ideal/module>])` expected"; 1128 const ring r = currRing;1128 const ring r = attributes.m_rBaseRing; 1129 1129 1130 1130 NoReturn(res); … … 1163 1163 ideal LL, TT; 1164 1164 1165 ComputeSyzygy(L, T, LL, TT, r,attributes);1165 ComputeSyzygy(L, T, LL, TT, attributes); 1166 1166 1167 1167 lists l = (lists)omAllocBin(slists_bin); l->Init(2);
Note: See TracChangeset
for help on using the changeset viewer.