diff --git a/Source/SGDLib/SGD.cpp b/Source/SGDLib/SGD.cpp index ac60f5a0e..f8e5f7192 100644 --- a/Source/SGDLib/SGD.cpp +++ b/Source/SGDLib/SGD.cpp @@ -1938,10 +1938,11 @@ template { fprintf(stderr, "Sparse matirx: %d [%d * %d] %d\n", (int)gradientValues.GetNumElements(), (int)gradientValues.GetNumRows(), (int)gradientValues.GetNumCols(), (int)gradientValues.BufferSize()); fflush(stderr); - Matrix* debug = new Matrix(gradientValues, CPUDEVICE); - ElemType* debugbuf = debug->Data(); + + //Matrix* debug = new Matrix(gradientValues, CPUDEVICE); + ElemType* debugbuf = gradientValues.Data(); debugbuf; - delete debug; + //delete debug; } GradientsUpdateType adpType = sgd->GradUpdateType();