From 9460b8aa2439feff3dc78dbac8afda755593965f Mon Sep 17 00:00:00 2001 From: Johan Pauwels Date: Thu, 19 Feb 2015 16:27:47 +0100 Subject: [PATCH] Fixed compile error in TensorContainer initialising constructor --- mshadow/tensor_container.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mshadow/tensor_container.h b/mshadow/tensor_container.h index dbf250ceed28..19ebc2658040 100644 --- a/mshadow/tensor_container.h +++ b/mshadow/tensor_container.h @@ -49,7 +49,7 @@ class TensorContainer: public Tensor { */ explicit TensorContainer(const Shape &shape, DType initv) { this->pad_ = MSHADOW_ALLOC_PAD; - data_.dptr = NULL; + data_.dptr_ = NULL; this->AllocByShape(shape); (*this) = initv; }