Skip to content

Commit

Permalink
fix: issues with building factory without NTL
Browse files Browse the repository at this point in the history
  • Loading branch information
mmklee committed Dec 14, 2011
1 parent 7398810 commit 6f6320b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions factory/cf_gcd_smallp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1700,6 +1700,7 @@ solveSystemFq (const CFMatrix& M, const CFArray& L, const Variable& alpha)
delete N;
return A;
}
#endif

CFArray
getMonoms (const CanonicalForm& F)
Expand Down Expand Up @@ -1735,6 +1736,7 @@ getMonoms (const CanonicalForm& F)
return result;
}

#ifdef HAVE_NTL
CFArray
evaluateMonom (const CanonicalForm& F, const CFList& evalPoints)
{
Expand Down
3 changes: 3 additions & 0 deletions factory/facFqFactorize.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1798,6 +1798,8 @@ evaluationWRTDifferentSecondVars (CFList*& Aeval, const CFList& evaluation,
}
}

#endif

static inline
CanonicalForm prodEval (const CFList& l, const CanonicalForm& evalPoint,
const Variable& v)
Expand Down Expand Up @@ -1870,6 +1872,7 @@ recombination (const CFList& factors1, const CFList& factors2, int s, int thres,
return result;
}

#ifdef HAVE_NTL
void
factorizationWRTDifferentSecondVars (const CanonicalForm& A, CFList*& Aeval,
const ExtensionInfo& info,
Expand Down

0 comments on commit 6f6320b

Please sign in to comment.