Skip to content

Commit

Permalink
Remove debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Feb 25, 2015
1 parent 1e82b1b commit acf3c2e
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/drivers/oci/OciSeqIterator.cpp
Expand Up @@ -255,16 +255,13 @@ void OciSeqIterator::normalize(PointBuffer& buffer, BlockPtr block,
Utils::compare_distance(m_dimZ->getNumericScale(), block->zScale()) &&
Utils::compare_distance(m_dimZ->getNumericOffset(), block->zOffset()))
{
std::cerr << "*** Not normalizing - transforms match!\n";
return;
}

// Get the value from the buffer unscaled. Scale the value as specified
// in the block (the clould's scaling) and then set the value back into
// the buffer, taking the final scaling out.

std::cerr << "*** Normalizing block!\n";

for (PointId i = begin; i < end; ++i)
{
double x,y,z;
Expand All @@ -279,18 +276,6 @@ void OciSeqIterator::normalize(PointBuffer& buffer, BlockPtr block,
z = buffer.getFieldAs<double>(*m_dimZ, i, false);
z = z * block->zScale() + block->zOffset();
buffer.setFieldUnscaled(*m_dimZ, i, z);

if (i == begin)
{
std::cerr << "Block scaled x/y/z = " << x << "/" << y << "/" << z << "!\n";

x = buffer.getFieldAs<double>(*m_dimX, i);
y = buffer.getFieldAs<double>(*m_dimY, i);
x = buffer.getFieldAs<double>(*m_dimZ, i);

std::cerr << "Schema scaled x/y/z = " << x << "/" << y << "/" << z << "!\n";
}

}
}

Expand Down

0 comments on commit acf3c2e

Please sign in to comment.