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

Function rSimpleFindHdl

Singular/ipshell.cc:6261–6276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6259}
6260
6261static idhdl rSimpleFindHdl(const ring r, const idhdl root, const idhdl n)
6262{
6263 idhdl h=root;
6264 while (h!=NULL)
6265 {
6266 if ((IDTYP(h)==RING_CMD)
6267 && (h!=n)
6268 && (IDRING(h)==r)
6269 )
6270 {
6271 return h;
6272 }
6273 h=IDNEXT(h);
6274 }
6275 return NULL;
6276}
6277
6278extern BOOLEAN jjPROC(leftv res, leftv u, leftv v);
6279

Callers 1

rFindHdlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected