Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
caddies
caddies-api
Commits
e8c9691e
Commit
e8c9691e
authored
Mar 30, 2016
by
Luís de Sousa
Browse files
Corrected template types used with readAsciiGridHeaderLine.
parent
5a46c370
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
impls/hexagonal-cell/1-levels/simple/HexAsciiGrid.hpp
impls/hexagonal-cell/1-levels/simple/HexAsciiGrid.hpp
+2
-2
No files found.
impls/hexagonal-cell/1-levels/simple/HexAsciiGrid.hpp
View file @
e8c9691e
...
...
@@ -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
<
u
nsigned
int
>
(
filename
,
infile
,
AsciiGridGeneral
<
T
>::
ncols
,
key_ncols
,
false
);
readAsciiGridHeaderLine
<
u
nsigned
int
>
(
filename
,
infile
,
AsciiGridGeneral
<
T
>::
nrows
,
key_nrows
,
false
);
readAsciiGridHeaderLine
<
CA
::
U
nsigned
>
(
filename
,
infile
,
AsciiGridGeneral
<
T
>::
ncols
,
key_ncols
,
false
);
readAsciiGridHeaderLine
<
CA
::
U
nsigned
>
(
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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment