Workaround for #166 should be removed when xtensor 0.18.0 is out
Workaround for #166 should be removed when xtensor 0.18.0 is out