From f3580fa316823c8aab6356ed35ea4fd4fcfad81c Mon Sep 17 00:00:00 2001 From: serge-sans-paille Date: Fri, 1 Aug 2025 18:22:21 +0200 Subject: [PATCH] Add missing default constructor for stride iterator It's a requirement for being adapted by std::reverse_iterator --- include/xtensor-python/pystrides_adaptor.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/xtensor-python/pystrides_adaptor.hpp b/include/xtensor-python/pystrides_adaptor.hpp index fde929a..bde3923 100644 --- a/include/xtensor-python/pystrides_adaptor.hpp +++ b/include/xtensor-python/pystrides_adaptor.hpp @@ -89,6 +89,8 @@ namespace xt using iterator_category = std::random_access_iterator_tag; using shape_pointer = typename pystrides_adaptor::shape_type; + pystrides_iterator() = default; + inline pystrides_iterator(pointer current, shape_pointer shape) : p_current(current) , p_shape(shape) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy