Skip to content

Commit 4dafd94

Browse files
committed
uncomment int8 bits
1 parent c3318f1 commit 4dafd94

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/stars.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -515,10 +515,10 @@ void CPL_write_gdal(NumericMatrix x, CharacterVector fname, CharacterVector driv
515515
stop("Type should have length 1"); // #nocov
516516
if (Type[0] == "Byte")
517517
eType = GDT_Byte; // #nocov
518-
// #if GDAL_VERSION_NUM >= 3070000
519-
// else if (Type[0] == "Int8")
520-
// eType = GDT_Int8; // #nocov
521-
// #endif
518+
#if GDAL_VERSION_NUM >= 3070000
519+
else if (Type[0] == "Int8")
520+
eType = GDT_Int8; // #nocov
521+
#endif
522522
else if (Type[0] == "UInt16")
523523
eType = GDT_UInt16; // #nocov
524524
else if (Type[0] == "Int16")

0 commit comments

Comments
 (0)