diff --git a/doc/source/install.rst b/doc/source/install.rst index 43289ccc..2b7e3b31 100644 --- a/doc/source/install.rst +++ b/doc/source/install.rst @@ -4,7 +4,7 @@ Install Fastscapelib ==================== This library is header only and uses C++14 standards. It depends on -xtensor_. +xtensor_ (>0.18). .. _xtensor: https://github.com/QuantStack/xtensor diff --git a/include/fastscapelib/bedrock_channel.hpp b/include/fastscapelib/bedrock_channel.hpp index 24949b7e..e17a9d1d 100644 --- a/include/fastscapelib/bedrock_channel.hpp +++ b/include/fastscapelib/bedrock_channel.hpp @@ -9,7 +9,7 @@ #include #include "xtensor/xtensor.hpp" -#include "xtensor/xstrided_view.hpp" +#include "xtensor/xmanipulation.hpp" #include "fastscapelib/utils.hpp" diff --git a/include/fastscapelib/flow_routing.hpp b/include/fastscapelib/flow_routing.hpp index 7bf26792..bfc4267a 100644 --- a/include/fastscapelib/flow_routing.hpp +++ b/include/fastscapelib/flow_routing.hpp @@ -14,7 +14,7 @@ #include "xtensor/xtensor.hpp" #include "xtensor/xview.hpp" -#include "xtensor/xstrided_view.hpp" +#include "xtensor/xmanipulation.hpp" #include "fastscapelib/utils.hpp" #include "fastscapelib/consts.hpp" diff --git a/include/fastscapelib/hillslope.hpp b/include/fastscapelib/hillslope.hpp index e284f3f9..e1579264 100644 --- a/include/fastscapelib/hillslope.hpp +++ b/include/fastscapelib/hillslope.hpp @@ -13,7 +13,7 @@ #include "xtensor/xbuilder.hpp" #include "xtensor/xnoalias.hpp" #include "xtensor/xview.hpp" -#include "xtensor/xstrided_view.hpp" +#include "xtensor/xmanipulation.hpp" #include "fastscapelib/utils.hpp" @@ -163,10 +163,9 @@ auto solve_diffusion_adi_row(Ei&& elevation, for (index_t r=1; r