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

Method checkIsSameRing

kernel/old/old.Poly.h:314–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312 return p_Copy(ptr->p,ptr->getRing());
313 }
314 template<class T> void checkIsSameRing(T& p){
315 if (error_handle_traits::handleErrors){
316 if (p.getRing()!=this->getRing()){
317 error_handle_traits::handleDifferentRing(
318 this->getRing(),
319 p.getRing()
320 );
321 }
322 }
323 }
324 typedef create_type_input create_type;
325 typedef PolyInputIterator<create_type> iterator;
326 Intvec leadExp(){

Callers

nothing calls this directly

Calls 2

getRingMethod · 0.95
getRingMethod · 0.45

Tested by

no test coverage detected