File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -331,7 +331,7 @@ namespace xt
331331 */
332332 template <class T , std::size_t N, layout_type L>
333333 inline pytensor<T, N, L>::pytensor(const self_type& rhs)
334- : base_type ()
334+ : self_type ()
335335 {
336336 init_tensor (rhs.shape (), rhs.strides ());
337337 std::copy (rhs.storage ().cbegin (), rhs.storage ().cend (), this ->storage ().begin ());
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ include(CheckCXXCompilerFlag)
2929string (TOUPPER "${CMAKE_BUILD_TYPE} " U_CMAKE_BUILD_TYPE)
3030
3131if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Intel" )
32- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native -Wunused-parameter -Wextra -Wreorder -Wconversion" )
32+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native -Wunused-parameter -Wextra -Wreorder -Wconversion -fvisibility=hidden " )
3333 CHECK_CXX_COMPILER_FLAG("-std=c++14" HAS_CPP14_FLAG)
3434
3535 if (HAS_CPP14_FLAG)
You can’t perform that action at this time.
0 commit comments