Commit 33a5ec1e authored by incardon's avatar incardon

Fixing for CUDA 10

parent da7bebf0
......@@ -902,7 +902,9 @@ public:
check_init();
check_bound(v1);
#endif
return mem_geto<dim,T,layout_base<T>,decltype(this->data_),decltype(this->g1),decltype(v1)>::get(const_cast<decltype(this->data_) &>(data_),g1,v1);
return mem_geto<dim,T,layout_base<T>,decltype(this->data_),decltype(this->g1),decltype(v1)>
::get(const_cast<typename std::add_lvalue_reference<decltype(this->data_)>::type>(data_),
g1,v1);
}
/*! \brief Get the of the selected element as a boost::fusion::vector
......@@ -948,7 +950,8 @@ public:
check_init();
check_bound(v1);
#endif
return mem_geto<dim,T,layout_base<T>,decltype(this->data_),decltype(this->g1),decltype(v1)>::get_lin(const_cast<decltype(this->data_) &>(data_),v1);
return mem_geto<dim,T,layout_base<T>,decltype(this->data_),decltype(this->g1),decltype(v1)>
::get_lin(const_cast<typename std::add_lvalue_reference<decltype(this->data_)>::type>(data_),v1);
}
/*! \brief Fill the memory with the selected byte
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment