From 81c97d24bd8aa40713c663f877c058d8c2629ae3 Mon Sep 17 00:00:00 2001 From: Nikos Karampatziakis Date: Thu, 2 Feb 2017 11:30:50 -0800 Subject: [PATCH] typo fix --- Source/CNTKv2LibraryDll/PrimitiveFunction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/CNTKv2LibraryDll/PrimitiveFunction.cpp b/Source/CNTKv2LibraryDll/PrimitiveFunction.cpp index d091b78d9..9431475a0 100644 --- a/Source/CNTKv2LibraryDll/PrimitiveFunction.cpp +++ b/Source/CNTKv2LibraryDll/PrimitiveFunction.cpp @@ -559,7 +559,7 @@ namespace CNTK } case PrimitiveOpType::ReduceElements: { - assert(inputs.size() == 1); + assert(m_inputs.size() == 1); auto reductionAxis = NormalizeStaticAxis(m_attributes[PrimitiveFunction::AttributeNameAxis].Value(), m_inputs[0].Shape()); if (reductionAxis == Axis::AllStaticAxes() || reductionAxis == Axis::AllAxes()) outputShape = {};