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

Method makeUnique

kernel/fglm/fglmvec.cc:198–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196#endif
197
198void fglmVector::makeUnique ()
199{
200 if(rep->refcount () != 1)
201 {
202 rep->deleteObject ();
203 rep = rep->clone ();
204 }
205}
206
207int fglmVector::size () const
208{

Callers

nothing calls this directly

Calls 3

refcountMethod · 0.80
deleteObjectMethod · 0.80
cloneMethod · 0.45

Tested by

no test coverage detected