Skip to content

Commit

Permalink
Fix CentOS compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
iefode committed Oct 9, 2020
1 parent e05dae1 commit 16112d0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ namespace ngraph
private:
struct NormalizedBBox
{
dataType xmin = 0;
dataType ymin = 0;
dataType xmax = 0;
dataType ymax = 0;
dataType size = 0;
dataType xmin = dataType(0);
dataType ymin = dataType(0);
dataType xmax = dataType(0);
dataType ymax = dataType(0);
dataType size = dataType(0);
};
using LabelBBox = std::map<int, std::vector<NormalizedBBox>>;

Expand Down
2 changes: 2 additions & 0 deletions ngraph/core/src/op/add.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ bool evaluate_add(const HostTensorPtr& arg0,

// ------------------------------- v0 ------------------------------------------

NGRAPH_SUPPRESS_DEPRECATED_START
constexpr NodeTypeInfo op::v0::Add::type_info;

op::v0::Add::Add(const Output<Node>& arg0,
Expand Down Expand Up @@ -102,6 +103,7 @@ bool op::v0::Add::evaluate(const HostTensorVector &outputs, const HostTensorVect
OV_ITT_SCOPED_TASK(itt::domains::nGraphOp, "op::v0::Add::evaluate");
return evaluate_add(inputs[0], inputs[1], outputs[0], get_autob());
}
NGRAPH_SUPPRESS_DEPRECATED_END

// ------------------------------- v1 ------------------------------------------

Expand Down

0 comments on commit 16112d0

Please sign in to comment.