Skip to content

Commit

Permalink
uncomment int8 bits
Browse files Browse the repository at this point in the history
  • Loading branch information
paleolimbot committed Dec 14, 2022
1 parent 1479f5a commit 37ea3c0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/stars.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -507,10 +507,10 @@ void CPL_write_gdal(NumericMatrix x, CharacterVector fname, CharacterVector driv
stop("Type should have length 1"); // #nocov
if (Type[0] == "Byte")
eType = GDT_Byte; // #nocov
// #if GDAL_VERSION_NUM >= 3070000
// else if (Type[0] == "Int8")
// eType = GDT_Int8; // #nocov
// #endif
#if GDAL_VERSION_NUM >= 3070000
else if (Type[0] == "Int8")
eType = GDT_Int8; // #nocov
#endif
else if (Type[0] == "UInt16")
eType = GDT_UInt16; // #nocov
else if (Type[0] == "Int16")
Expand Down

0 comments on commit 37ea3c0

Please sign in to comment.