Commit da76e186 authored by Spencer Sherwin's avatar Spencer Sherwin

Mistake in stopping criterion

parent f1037ee1
......@@ -91,7 +91,7 @@ namespace DBUtils
{
ASSERTL1(stop <= in.num_elements(), "Stop value is outside array range ");
for(i = start; i < in.num_elements(); ++i)
for(i = start; i < stop; ++i)
{
ofile << in[i] << endl;
}
......@@ -119,7 +119,7 @@ namespace DBUtils
{
ASSERTL1(stop <= in.num_elements(), "Stop value is outside array range ");
for(i = start; i < in.num_elements(); ++i)
for(i = start; i < stop; ++i)
{
ofile << in[i] << endl;
}
......
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