You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2017/11/30 18:59:29 UTC

[GitHub] piiswrong closed pull request #8854: Change the initialization for default constructor to avoid using expl?

piiswrong closed pull request #8854: Change the initialization for default constructor to avoid using expl?
URL: https://github.com/apache/incubator-mxnet/pull/8854
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/src/operator/operator_tune.cc b/src/operator/operator_tune.cc
index 8263c44eb4..7cdf7a2078 100644
--- a/src/operator/operator_tune.cc
+++ b/src/operator/operator_tune.cc
@@ -42,7 +42,7 @@ double OperatorTuneBase::tuning_weight_scale_ = 0.0;
   template<> std::vector<__typ$> OperatorTune<__typ$>::data_set_ = {}; \
   template<> volatile tune::TuningMode OperatorTuneByType<__typ$>::tuning_mode_ = tune::kAuto; \
   template<> volatile int OperatorTune<__typ$>::volatile_int_ = 9;  /* arbitrary number */ \
-  template<> std::unordered_set<std::string> OperatorTune<__typ$>::operator_names_ = {}; \
+  template<> std::unordered_set<std::string> OperatorTune<__typ$>::operator_names_({}); \
   template<> bool OperatorTune<__typ$>::output_tuning_data_ = false; \
   template<> std::list<void (*)()> *OperatorTune<__typ$>::GetTuningList() { \
     static std::list<void (*)()> ll; \


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services