/*+ ARES/HADES/BORG Package -- ./libLSS/tools/fuse/healpix.hpp Copyright (C) 2014-2020 Guilhem Lavaux Copyright (C) 2009-2020 Jens Jasche Additional contributions from: Guilhem Lavaux (2023) +*/ #pragma once #ifndef __LIBLSS_TOOLS_FUSE_HEALPIX_HPP # define __LIBLSS_TOOLS_FUSE_HEALPIX_HPP # include namespace LibLSS { namespace FuseWrapper_detail { template auto fwrap(Healpix_Map &a) { boost::const_multi_array_ref b(&a.Map()[0], boost::extents[a.Npix()]); return fwrap_(b, std::true_type()); } } // namespace FuseWrapper_detail using FuseWrapper_detail::fwrap; } // namespace LibLSS #endif