Strange behavior
This is a discussion on Strange behavior within the C++ Programming forums, part of the General Programming Boards category; Note the following:
Code:
std::cout<<"X.colNo:"<<X2D.colNo<<" rowNo:"<<X2D.rowNo<<std::endl;
std::cout<<"D.colNo:"<<Dp.colNo<<" rowNo:"<<Dp.rowNo<<std::endl;
std::cout<<"neig.colNo:"<<Neig.colNo<<" rowNo:"<<Neig.rowNo<<std::endl;
distanceScalingOne(X2D, Dp, Neig, X2Df);
where
Code:
void distanceScalingOne(const MatrixRAM& X, ...