Skip to content

Commit 171658d

Browse files
committed
ENH: Improve error reporting in AngReader
Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
1 parent 05609fc commit 171658d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/EbsdLib/IO/TSL/AngReader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ std::pair<int, std::string> AngReader::fixOrderOfData(std::vector<int64_t>& inde
10011001
if(std::nearbyint((yMax - yMin) / yStep) + 1 != numRows)
10021002
{
10031003
std::stringstream message;
1004-
message << "Error: The calculated number of rows " << yMax << ", " << yMin << ", " << yStep << " (" << ((yMax - yMin) / yStep) + 1 << ") does not match the actual number of rows (" << numRows + 1
1004+
message << "Error: The calculated number of rows YMax: " << yMax << ", YMin: " << yMin << ", YStep: " << yStep << " (" << ((yMax - yMin) / yStep) + 1 << ") does not match the actual number of rows (" << numRows + 1
10051005
<< ")" << std::endl;
10061006
return {-101101, message.str()};
10071007
}

0 commit comments

Comments
 (0)