Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Relax Visual Studio version constraint in the specialization of `dmlc::type_name_helper<DT>` for `DT=mxnet::Tuple<T>`
  • Loading branch information
Vigilans authored and drivanov committed Sep 26, 2019
1 parent 51a3844 commit 4af2a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/mxnet/tuple.h
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ namespace dmlc {
DMLC_DECLARE_TYPE_NAME(optional<mxnet::TShape>, "Shape or None");
DMLC_DECLARE_TYPE_NAME(optional<mxnet::Tuple<int>>, "Shape or None");
// avoid low version of MSVC
#if !defined(_MSC_VER)
#if !(defined(_MSC_VER) && _MSC_VER < 1900)
template<typename T>
struct type_name_helper<mxnet::Tuple<T> > {
static inline std::string value() {
Expand Down

0 comments on commit 4af2a38

Please sign in to comment.