From 93627f6b89d22e6e2f87df0bd4d809e168958b1d Mon Sep 17 00:00:00 2001 From: Justin Berger Date: Fri, 16 Mar 2018 22:10:01 -0600 Subject: Removed unneeded prints; fixed memory issue in sba poser --- redist/json_helpers.c | 2 -- redist/minimal_opencv.c | 2 -- 2 files changed, 4 deletions(-) (limited to 'redist') diff --git a/redist/json_helpers.c b/redist/json_helpers.c index 8704a93..ebacd2c 100644 --- a/redist/json_helpers.c +++ b/redist/json_helpers.c @@ -188,7 +188,6 @@ void json_load_file(const char* path) { if (value_t->type == JSMN_ARRAY) { i += json_load_array(JSON_STRING, tokens+i+2,value_t->size, tag); //look at array children } else if (value_t->type == JSMN_OBJECT) { - printf("Begin Object\n"); if (json_begin_object != NULL) json_begin_object(tag); children = (int16_t)(value_t->size +1); //+1 to account for this loop where we are not yed parsing children // i += decode_jsmn_object(JSON_STRING, tokens+i+2,value_t->size); @@ -200,7 +199,6 @@ void json_load_file(const char* path) { if (children>=0) children--; if (children == 0) { children = -1; - printf("End Object\n"); if (json_end_object!=NULL) json_end_object(); } diff --git a/redist/minimal_opencv.c b/redist/minimal_opencv.c index 3f7bed7..e8a6214 100644 --- a/redist/minimal_opencv.c +++ b/redist/minimal_opencv.c @@ -175,10 +175,8 @@ double cvInvert(const CvMat *srcarr, CvMat *dstarr, int method) { lapack_int *ipiv = malloc(sizeof(lapack_int) * MIN(srcarr->rows, srcarr->cols)); inf = LAPACKE_dgetrf(LAPACK_ROW_MAJOR, rows, cols, a, lda, ipiv); assert(inf == 0); - print_mat(dstarr); inf = LAPACKE_dgetri(LAPACK_ROW_MAJOR, rows, a, lda, ipiv); - print_mat(dstarr); assert(inf >= 0); if (inf > 0) { printf("Warning: Singular matrix: \n"); -- cgit v1.2.3