mirror of https://github.com/jlizier/jidt
Java matrix to matlab conversion was accidentally falling through to element by element; was correct but slow. Fixed this, should be more efficient now
This commit is contained in:
parent
97e46c66a3
commit
a4b9f20801
|
@ -67,6 +67,7 @@ function octaveMatrix = javaMatrixToOctave(javaMatrix, startRow, startCol, numRo
|
||||||
else
|
else
|
||||||
% Else we're in matlab, in which case the native java type can be handled, so return it directly:
|
% Else we're in matlab, in which case the native java type can be handled, so return it directly:
|
||||||
octaveMatrix = javaMatrix;
|
octaveMatrix = javaMatrix;
|
||||||
|
return;
|
||||||
end
|
end
|
||||||
|
|
||||||
% Else, we encountered an error in the octave resizing, so fall through to element by element conversion:
|
% Else, we encountered an error in the octave resizing, so fall through to element by element conversion:
|
||||||
|
|
Loading…
Reference in New Issue