File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 print ("Read a Series with openPMD standard version %s" %
1515 series .openPMD )
1616
17- print ("The Series contains {0} iterations:" .format (len (series .snapshots ())))
17+ print ("The Series contains {0} iterations:" .format (
18+ len (series .snapshots ())))
1819 for i in series .snapshots ():
1920 print ("\t {0}" .format (i ))
2021 print ("" )
Original file line number Diff line number Diff line change @@ -404,7 +404,10 @@ not possible once it has been closed.
404404 std::tuple<py::object, std::string>,
405405 std::tuple<py::object, py::object>
406406#endif
407- >::template call (cl);
407+ >::template call<py::class_<Series, Attributable> &>(cl);
408+ // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
409+ // need to explicitly state template parameters, otherwise Clang on
410+ // Windows does not understand that it really is a template
408411
409412 cl.def (" __bool__" , &Series::operator bool )
410413 .def (" __len__" , [](Series const &s) { return s.iterations .size (); })
You can’t perform that action at this time.
0 commit comments