mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-04 05:54:32 +00:00 
			
		
		
		
	HDF5 IO fix
This commit is contained in:
		@@ -65,10 +65,12 @@ Hdf5Reader::Hdf5Reader(const std::string &fileName)
 | 
			
		||||
                      Hdf5Type<unsigned int>::type());
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void Hdf5Reader::push(const std::string &s)
 | 
			
		||||
bool Hdf5Reader::push(const std::string &s)
 | 
			
		||||
{
 | 
			
		||||
  group_ = group_.openGroup(s);
 | 
			
		||||
  path_.push_back(s);
 | 
			
		||||
  
 | 
			
		||||
  return true;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void Hdf5Reader::pop(void)
 | 
			
		||||
 
 | 
			
		||||
@@ -54,7 +54,7 @@ namespace Grid
 | 
			
		||||
  public:
 | 
			
		||||
    Hdf5Reader(const std::string &fileName);
 | 
			
		||||
    virtual ~Hdf5Reader(void) = default;
 | 
			
		||||
    void push(const std::string &s);
 | 
			
		||||
    bool push(const std::string &s);
 | 
			
		||||
    void pop(void);
 | 
			
		||||
    template <typename U>
 | 
			
		||||
    void readDefault(const std::string &s, U &output);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user