--- include/CoCoA/degree.H.orig 2018-05-18 06:13:37.000000000 -0600
+++ include/CoCoA/degree.H 2019-11-22 09:25:52.895904842 -0700
@@ -84,9 +84,8 @@ namespace CoCoA
// FastCmp is the same as cmp except it is inline and does not check compatibility
inline int FastCmp(const degree& d1, const degree& d2)
{
- const long dim = d1.myGradingDim();
- return LexCmp3(&d1.myCoords[0], &d1.myCoords[dim],
- &d2.myCoords[0], &d2.myCoords[dim]);
+ return LexCmp3(d1.myCoords.cbegin(), d1.myCoords.cend(),
+ d2.myCoords.cbegin(), d2.myCoords.cend());
}
--- include/CoCoA/MatrixFp.H.orig 2018-02-15 07:40:01.000000000 -0700
+++ include/CoCoA/MatrixFp.H 2018-06-08 11:55:55.353754431 -0600
@@ -73,6 +73,7 @@ private: // data members
class LinDepFp
{
public:
+ LinDepFp() = delete;
LinDepFp(const SmallFpImpl& ModP, long dim);
bool myAppendVec(std::vector<SmallFpImpl::value>& v);
// bool IsLinDep() const { return };
@@ -94,6 +95,7 @@ private: // data members
class RowRednFp
{
public:
+ RowRednFp() = delete;
RowRednFp(const SmallFpImpl& ModP, long dim);
void myAppendVec(std::vector<SmallFpImpl::value>& v);
// bool IsLinDep() const { return };
--- src/AlgebraicCore/MatrixFp.C.orig 2020-06-17 09:49:23.000000000 -0600
+++ src/AlgebraicCore/MatrixFp.C 2020-11-06 08:27:42.569128652 -0700
@@ -419,6 +419,8 @@ void LinSolver::SolveByGauss()//const Sm
// VerboseLog VERBOSE("LinDepFp::myAppendVec");
// VERBOSE(10) << "Recvd vec " << v << endl;
CoCoA_ASSERT(len(v) == myDim);
+ if (myRow.size() < myDim * 2)
+ myRow.resize(myDim * 2);
for (int i=0; i < myDim; ++i)
{
myRow[i] = v[i];