Skip to content
Snippets Groups Projects
Commit f7bba4eb authored by Florian Angerer's avatar Florian Angerer
Browse files

Inserted class profile for vector in bind functions.

parent e3dfa7e6
Branches
No related tags found
No related merge requests found
...@@ -195,9 +195,9 @@ public abstract class Bind extends RBaseNode { ...@@ -195,9 +195,9 @@ public abstract class Bind extends RBaseNode {
boolean rowsAndColumnsNotEqual = getResultDimensions(vectors, resultDimensions, bindDims); boolean rowsAndColumnsNotEqual = getResultDimensions(vectors, resultDimensions, bindDims);
RVector<?> resultVec; RVector<?> resultVec;
if (fromNotNullArgVector != null) { if (fromNotNullArgVector != null) {
resultVec = resultProfile.profile(fromNotNullArgVector.createEmptySameType(resultDimensions[0] * resultDimensions[1], complete)); resultVec = resultProfile.profile(vectorProfile.profile(fromNotNullArgVector).createEmptySameType(resultDimensions[0] * resultDimensions[1], complete));
} else { } else {
resultVec = resultProfile.profile(vectors[0].createEmptySameType(resultDimensions[0] * resultDimensions[1], complete)); resultVec = resultProfile.profile(vectorProfile.profile(vectors[0]).createEmptySameType(resultDimensions[0] * resultDimensions[1], complete));
} }
if (type == BindType.cbind) { if (type == BindType.cbind) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment