Skip to content

Commit

Permalink
made gcc happy
Browse files Browse the repository at this point in the history
  • Loading branch information
frankseide committed Jan 24, 2016
1 parent 2f64031 commit 26911b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Source/ComputationNetworkLib/ComputationNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -1724,6 +1724,7 @@ protected:
using Base::GetSampleMatrixNumCols; \
using Base::GetSampleMatrixNumRows; \
using Base::GetTensorShape; \
using Base::GetTensorSliceFor; \
using Base::Gradient; \
using Base::GradientAsMatrix; \
using Base::GradientFor; \
Expand Down
2 changes: 1 addition & 1 deletion Source/ComputationNetworkLib/ReshapingNodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ class RowStackNode : public ComputationNode<ElemType> // note: not deriving from
// check/fuse dimensions
if (isFinalValidationPass && dim != dims[k] && dim != 1 && dims[k] != 1)
InvalidArgument("%ls %ls operation: Conflicting dimension %d between %ls %ls operation (%d) and other(s) (%d)",
NodeName().c_str(), OperationName().c_str(), (int)k, Input(i)->NodeName().c_str(), Input(i)->OperationName(), (int)dim, (int)dims[k]);
NodeName().c_str(), OperationName().c_str(), (int)k, Input(i)->NodeName().c_str(), Input(i)->OperationName().c_str(), (int)dim, (int)dims[k]);
if (dims[k] == 1) // broadcast
dims[k] = dim;
}
Expand Down

0 comments on commit 26911b7

Please sign in to comment.