From 943bfa53cf5df0ecc9b04967a61be17c64e33e77 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Mon, 3 Feb 2014 13:47:05 +0000 Subject: bug chasing --- rotord/src/cvimage.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rotord/src/cvimage.h') diff --git a/rotord/src/cvimage.h b/rotord/src/cvimage.h index 25cf3e8..1210744 100644 --- a/rotord/src/cvimage.h +++ b/rotord/src/cvimage.h @@ -130,6 +130,10 @@ namespace Rotor { return true; }; bool setup(int _w,int _h){ //set up with internal data + if (_w==0||_h==0) { + std::cerr<<"Error! cvimage: request to set up image at "<<_w<<"x"<<_h<