Skip to content
Snippets Groups Projects
Commit 3c9e64bc authored by Lukas Stadler's avatar Lukas Stadler
Browse files

small fix in in Rf_allocateMatrix

parent 49dd8f4c
No related branches found
No related tags found
No related merge requests found
......@@ -367,7 +367,7 @@ public class CallRFFIHelper {
return RDataFactory.createDoubleVector(new double[nrow * ncol], RDataFactory.COMPLETE_VECTOR, dims);
case LGLSXP:
return RDataFactory.createLogicalVector(new byte[nrow * ncol], RDataFactory.COMPLETE_VECTOR, dims);
case CHARSXP:
case STRSXP:
return RDataFactory.createStringVector(new String[nrow * ncol], RDataFactory.COMPLETE_VECTOR, dims);
case CPLXSXP:
return RDataFactory.createComplexVector(new double[2 * (nrow * ncol)], RDataFactory.COMPLETE_VECTOR, dims);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment