From c2738835f0a2435ab03f411af3d168aec389d2a6 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Tue, 08 Dec 2015 01:18:04 +0000
Subject: [PATCH] Faster batch normalization
---
src/data.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/src/data.c b/src/data.c
index df15dc5..9b84c5a 100644
--- a/src/data.c
+++ b/src/data.c
@@ -574,9 +574,7 @@
pthread_t thread;
struct load_args *ptr = calloc(1, sizeof(struct load_args));
*ptr = args;
- if(pthread_create(&thread, 0, load_thread, ptr)) {
- error("Thread creation failed");
- }
+ if(pthread_create(&thread, 0, load_thread, ptr)) error("Thread creation failed");
return thread;
}
--
Gitblit v1.10.0