From 89391d184bfe304b5415b8f7ef64a94a491cc79d Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 25 Jul 2014 14:55:44 +0200 Subject: Improve Block Partitioner error message --- src/BlockPartitioner.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/BlockPartitioner.cpp b/src/BlockPartitioner.cpp index 15fa934..6d216c1 100644 --- a/src/BlockPartitioner.cpp +++ b/src/BlockPartitioner.cpp @@ -102,12 +102,15 @@ int BlockPartitioner::process(std::vector dataIn, Buffer* dataOut) #endif if (dataIn[0]->getLength() != d_ficSize) { + fprintf(stderr, "FIC is length %zu, should be %zu\n", + dataIn[0]->getLength(), d_ficSize); + throw std::runtime_error( - "BlockPartitioner::process input size not valid!"); + "BlockPartitioner::process input 0 size not valid!"); } if (dataIn[1]->getLength() != d_cifSize) { throw std::runtime_error( - "BlockPartitioner::process input size not valid!"); + "BlockPartitioner::process input 1 size not valid!"); } // Synchronize CIF phase -- cgit v1.2.3