Skip to content

Commit b1b16c5

Browse files
committed
handle new exception
1 parent 1f53146 commit b1b16c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/sysds/runtime/frame/data/lib/MatrixBlockFromFrame.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ private static long convert(FrameBlock frame, MatrixBlock mb, int n, int rl, int
101101
else
102102
return convertGeneric(frame, mb, n, rl, ru);
103103
}
104-
catch(DMLRuntimeException e) {
104+
catch(NumberFormatException | DMLRuntimeException e) {
105105
if(e.getMessage().contains("Unable to change to double")){
106106
LOG.error(
107107
"Failed to convert to Matrix because of number format errors, falling back to NaN on incompatible cells",

0 commit comments

Comments
 (0)