Commit 4cb3532a authored by Kirill Terekhov's avatar Kirill Terekhov

Bug fix, performance optimization

parent 0eab4fea
......@@ -231,6 +231,7 @@ namespace INMOST
{
free(m_arr);
m_arr = NULL;
m_size = 0;
}
if( other.m_arr != NULL )
{
......
......@@ -471,7 +471,7 @@ namespace INMOST
assert(i*m+j < n*m); //overflow check?
return space[i*m+j];
}
Var operator()(enumerator i, enumerator j) const
const Var & operator()(enumerator i, enumerator j) const
{
assert(i >= 0 && i < n);
assert(j >= 0 && j < m);
......
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