From: Paul Brossier Date: Wed, 23 Jan 2019 22:33:38 +0000 (+0100) Subject: [batchnorm] remove comments, add a note about no input parameter X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=51c0b61d09f5cc67cea061f34b4816587163414d;p=aubio.git [batchnorm] remove comments, add a note about no input parameter --- diff --git a/src/ai/batchnorm.c b/src/ai/batchnorm.c index 490da8ba..7aba3d53 100644 --- a/src/ai/batchnorm.c +++ b/src/ai/batchnorm.c @@ -37,12 +37,8 @@ static void aubio_batchnorm_debug(aubio_batchnorm_t *c, aubio_batchnorm_t *new_aubio_batchnorm(void) { aubio_batchnorm_t *c = AUBIO_NEW(aubio_batchnorm_t); + // note; no input parameter, so no other possible failure return c; -#if 0 // no argument so no other possible failure -failure: - del_aubio_batchnorm(c); - return NULL; -#endif } static void aubio_batchnorm_reset(aubio_batchnorm_t *c) {