Skip to content

Commit

Permalink
Fix using in headers
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Sep 1, 2023
1 parent ea0328e commit acf47b6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Base/Vector.H
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

#include <AMReX_Vector.H>

#include <cstdint>
#include <memory>
#include <sstream>
#include <string>
Expand All @@ -18,15 +19,13 @@

namespace
{
using namespace amrex;

/** CPU: __array_interface__ v3
*
* https://numpy.org/doc/stable/reference/arrays.interface.html
*/
template <class T, class Allocator = std::allocator<T> >
py::dict
array_interface(Vector<T, Allocator> const & vector)
array_interface(amrex::Vector<T, Allocator> const & vector)
{
auto d = py::dict();
bool const read_only = false;
Expand Down

0 comments on commit acf47b6

Please sign in to comment.