Commit 51cea7c7 by Kirill Terekhov

Fixes for gcc compiler

parent 02186958
......@@ -594,7 +594,7 @@ namespace INMOST
: mesh(other.mesh), matrix(other.matrix), head_column(other.head_column), head_row(other.head_row),
head_row_count(other.head_row_count), min_loop(other.min_loop),
hide_row(other.hide_row), hide_column(other.hide_column),
stub_row(other.stub_row), coords(other.coords.Copy())
stub_row(other.stub_row), coords(other.coords->Copy())
{
}
incident_matrix & operator =(const incident_matrix & other)
......@@ -608,7 +608,7 @@ namespace INMOST
hide_row = other.hide_row;
hide_column = other.hide_column;
stub_row = other.stub_row;
coords = other.coords.Copy();
coords = other.coords->Copy();
return *this;
}
~incident_matrix()
......
......@@ -1680,7 +1680,7 @@ public:
if( i != k ) //out of diagonal
{
u = C_Entries[r] + temp[k] - temp[i];
if( isnan(u) || u != u ) std::cout << __FILE__ << ":" << __LINE__ << " u is " << u << std::endl;
//if( isnan(u) || u != u ) std::cout << __FILE__ << ":" << __LINE__ << " u is " << u << std::endl;
DL[k] = std::min(DL[k],u);// update Y1
DR[i] = std::min(DR[i],u);// update Y2
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment