Commit e8c9691e authored by Luís de Sousa's avatar Luís de Sousa
Browse files

Corrected template types used with readAsciiGridHeaderLine.

parent 5a46c370
......@@ -90,8 +90,8 @@ namespace CA {
//! Reads the header of an hexagonal ASCII raster file
inline void loadAsciiGridHeader(const std::string& filename, std::ifstream& infile, bool print = false)
{
readAsciiGridHeaderLine<unsigned int>(filename, infile, AsciiGridGeneral<T>::ncols, key_ncols, false);
readAsciiGridHeaderLine<unsigned int>(filename, infile, AsciiGridGeneral<T>::nrows, key_nrows, false);
readAsciiGridHeaderLine<CA::Unsigned>(filename, infile, AsciiGridGeneral<T>::ncols, key_ncols, false);
readAsciiGridHeaderLine<CA::Unsigned>(filename, infile, AsciiGridGeneral<T>::nrows, key_nrows, false);
readAsciiGridHeaderLine<double>(filename, infile, AsciiGridGeneral<T>::xllcorner, key_xll, false);
readAsciiGridHeaderLine<double>(filename, infile, AsciiGridGeneral<T>::yllcorner, key_yll, false);
readAsciiGridHeaderLine<double>(filename, infile, AsciiGridGeneral<T>::cellsize, key_side, false);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment