minor fix for layer factory
authorqipeng <pengrobertqi@163.com>
Mon, 11 Aug 2014 17:48:57 +0000 (10:48 -0700)
committerqipeng <pengrobertqi@163.com>
Mon, 11 Aug 2014 17:48:57 +0000 (10:48 -0700)
src/caffe/layer_factory.cpp

index 0d5b19d..2170c19 100644 (file)
@@ -58,7 +58,7 @@ Layer<Dtype>* GetLayer(const LayerParameter& param) {
   case LayerParameter_LayerType_MEMORY_DATA:
     return new MemoryDataLayer<Dtype>(param);
   case LayerParameter_LayerType_MVN:
-    return new MVNLayer(param);
+    return new MVNLayer<Dtype>(param);
   case LayerParameter_LayerType_MULTINOMIAL_LOGISTIC_LOSS:
     return new MultinomialLogisticLossLayer<Dtype>(param);
   case LayerParameter_LayerType_POOLING: