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

Method checkIsSameRing

Singular/dyn_modules/python/Poly.h:338–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336 return p_Copy(ptr->p,ptr->getRing());
337 }
338 template<class T> void checkIsSameRing(T& p)
339 {
340 if (error_handle_traits::handleErrors)
341 {
342 if (p.getRing()!=this->getRing())
343 {
344 error_handle_traits::handleDifferentRing(this->getRing(),
345 p.getRing()
346 );
347 }
348 }
349 }
350 typedef create_type_input create_type;
351 typedef PolyInputIterator<create_type> iterator;
352 Intvec leadExp()

Callers

nothing calls this directly

Calls 2

getRingMethod · 0.95
getRingMethod · 0.45

Tested by

no test coverage detected