From 9622eb4afb3e279341b059337eb552e289d01392 Mon Sep 17 00:00:00 2001 From: WolframRhodium Date: Fri, 19 Apr 2024 12:24:08 +0800 Subject: [PATCH] vsort/vs_onnxruntime.cpp: use fp32 output --- vsort/vs_onnxruntime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vsort/vs_onnxruntime.cpp b/vsort/vs_onnxruntime.cpp index 3541cee..e9bdd9b 100644 --- a/vsort/vs_onnxruntime.cpp +++ b/vsort/vs_onnxruntime.cpp @@ -943,7 +943,7 @@ static void VS_CC vsOrtCreate( int output_format = int64ToIntS(vsapi->propGetInt(in, "output_format", 0, &error)); if (error) { - output_format = 1; + output_format = 0; } if (output_format != 0 && output_format != 1) { return set_error("\"output_format\" must be 0 or 1");