Unverified Commit 3a055b55 authored by Francisco Massa's avatar Francisco Massa Committed by GitHub
Browse files

Fix unitialized variable (#1306)

parent 71486acf
......@@ -169,7 +169,7 @@ torch::Tensor convert_to_tensor(
const bool normalize,
const bool channels_first) {
torch::Tensor t;
uint64_t dummy;
uint64_t dummy = 0;
SOX_SAMPLE_LOCALS;
if (normalize || dtype == torch::kFloat32) {
t = torch::empty(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment