Macaulay2 Engine
Loading...
Searching...
No Matches

◆ createHomotopy()

template<typename RT>
Homotopy * SLEvaluatorConcrete< RT >::createHomotopy ( SLEvaluator * Hxt,
SLEvaluator * HxH )
virtual

Implements SLEvaluator.

Definition at line 323 of file SLP-imp.hpp.

325{
326 auto castHxt = dynamic_cast<SLEvaluatorConcrete<RT>*>(Hxt);
327 auto castHxH = dynamic_cast<SLEvaluatorConcrete<RT>*>(HxH);
329 {
330 ERROR("expected SLEvaluators in the same ring");
331 return nullptr;
332 }
334 *this, *castHxt, *castHxH);
335}
SLEvaluatorConcrete(const SLEvaluatorConcrete< RT > &)
Definition SLP-imp.hpp:103
const int ERROR
Definition m2-mem.cpp:55

References ERROR, and SLEvaluatorConcrete().