Skip to content

Commit 5f4f937

Browse files
committed
revert debug message commited by mistake
1 parent f6fd9b3 commit 5f4f937

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/training/stringrenderer.cpp

+1-5
Original file line numberDiff line numberDiff line change
@@ -543,11 +543,7 @@ void StringRenderer::ComputeClusterBoxes() {
543543
// pango.
544544
std::vector<std::string> cluster_text;
545545
if (GetClusterStrings(&cluster_text)) {
546-
tprintf("* %d, cluster_text.size(): %d\t", page_, cluster_text.size());
547-
tprintf("start_byte_to_box.size(): %d\n", start_byte_to_box.size());
548-
if (cluster_text.size() != start_byte_to_box.size())
549-
tprintf(">%s<\n", cluster_text[0].c_str());
550-
ASSERT_HOST(cluster_text.size() == start_byte_to_box.size());
546+
ASSERT_HOST(cluster_text.size() == start_byte_to_box.size());
551547
int ind = 0;
552548
for (std::map<int, BoxChar*>::iterator it = start_byte_to_box.begin();
553549
it != start_byte_to_box.end(); ++it, ++ind) {

0 commit comments

Comments
 (0)