MCPcopy Create free account
hub / github.com/Singular/Singular / kTest_S

Function kTest_S

kernel/GBEngine/kutil.cc:1053–1067  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1051}
1052
1053BOOLEAN kTest_S(kStrategy strat)
1054{
1055 int i;
1056 BOOLEAN ret = TRUE;
1057 for (i=0; i<=strat->sl; i++)
1058 {
1059 if (strat->S[i] != NULL &&
1060 strat->sevS[i] != pGetShortExpVector(strat->S[i]))
1061 {
1062 return dReportError("S[%d] wrong sev: has %o, specified to have %o",
1063 i , pGetShortExpVector(strat->S[i]), strat->sevS[i]);
1064 }
1065 }
1066 return ret;
1067}
1068
1069
1070

Callers 1

kTestFunction · 0.85

Calls 1

dReportErrorFunction · 0.85

Tested by

no test coverage detected