From 7667154f1e87b0a3de50a97be0e625ebb2892a03 Mon Sep 17 00:00:00 2001
From: Alexey <AlexeyAB@users.noreply.github.com>
Date: Tue, 25 Apr 2017 10:42:44 +0000
Subject: [PATCH] Update Readme.md

---
 src/layer.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/layer.c b/src/layer.c
index ccd0daf..5fb5d24 100644
--- a/src/layer.c
+++ b/src/layer.c
@@ -28,8 +28,8 @@
 
 #ifdef GPU
     if(l.indexes_gpu)          cuda_free((float *)l.indexes_gpu);
-    if(l.weights_gpu)          cuda_free(l.weights_gpu);
-    if(l.weight_updates_gpu)   cuda_free(l.weight_updates_gpu);
+    //if(l.weights_gpu)          cuda_free(l.weights_gpu);			// duplicated
+    //if(l.weight_updates_gpu)   cuda_free(l.weight_updates_gpu);	// duplicated
     if(l.col_image_gpu)        cuda_free(l.col_image_gpu);
     if(l.weights_gpu)          cuda_free(l.weights_gpu);
     if(l.biases_gpu)           cuda_free(l.biases_gpu);

--
Gitblit v1.10.0