Skip to content

Commit af9db24

Browse files
committed
comment-out code
1 parent 1f1eb59 commit af9db24

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/stars.cpp

Lines changed: 5 additions & 5 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_Byte; // #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")
@@ -798,7 +798,7 @@ NumericMatrix CPL_extract(CharacterVector input, NumericMatrix xy, bool interpol
798798
}
799799

800800
// [[Rcpp::export]]
801-
void CPL_create(CharacterVector file, IntegerVector nxy, NumericVector value, CharacterVector wkt,
801+
void CPL_create(CharacterVector file, IntegerVector nxy, NumericVector value, CharacterVector wkt,
802802
NumericVector xlim, NumericVector ylim) {
803803
//
804804
// modified from gdal/apps/gdal_create.cpp:

0 commit comments

Comments
 (0)