fix clang compilation problem w/ DummyDataLayer
authorJeff Donahue <jeff.donahue@gmail.com>
Tue, 10 Jun 2014 18:35:08 +0000 (11:35 -0700)
committerJeff Donahue <jeff.donahue@gmail.com>
Tue, 10 Jun 2014 18:35:08 +0000 (11:35 -0700)
src/caffe/layers/dummy_data_layer.cpp

index 8925772..58044f4 100644 (file)
@@ -75,7 +75,7 @@ void DummyDataLayer<Dtype>::SetUp(const vector<Blob<Dtype>*>& bottom,
     (*top)[i]->Reshape(num, channels, height, width);
   }
   // Run Forward once, with refill_ inverted, to fill the constant Blobs.
-  Forward(bottom, top);
+  this->Forward(bottom, top);
   // Invert the inverted refill_ values to refill the desired (non-constant)
   // Blobs in every usual forward pass.
   for (int i = 0; i < refill_.size(); ++i) {