Skip to content

Commit

Permalink
try type casting
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Oct 26, 2023
1 parent 61e271f commit 98c9431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/bioimage/modelrunner/model/Model.java
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ List<Tensor<T>> runTiling(List<Tensor<R>> inputTensors, PatchGridCalculator<R> t
outputTensors.add((Tensor<T>) Tensor.buildBlankTensor(tt.getName(),
tt.getAxesOrder(),
outTileSpecs.get(tt.getName()).getTensorDims(),
new FloatType()));
(T) new FloatType()));
}
doTiling(inputTensors, outputTensors, tileGrid);
return outputTensors;
Expand Down

0 comments on commit 98c9431

Please sign in to comment.