From 1f2c97cc8315f289f2872ba3a1115ffa6d45b5b8 Mon Sep 17 00:00:00 2001 From: schillic Date: Sat, 25 May 2024 13:18:23 +0200 Subject: [PATCH] remove error line from coverage --- src/FileFormats/ONNX.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FileFormats/ONNX.jl b/src/FileFormats/ONNX.jl index 2705858..3682e37 100644 --- a/src/FileFormats/ONNX.jl +++ b/src/FileFormats/ONNX.jl @@ -109,7 +109,7 @@ function read_ONNX(filename::String; input_dimension=nothing) @assert args[2]._op.id == idx - 1 act = args[1] else - @assert false "cannot parse activation $op" + throw(ArgumentError("cannot parse activation $op")) # COV_EXCL_LINE end a = available_activations[string(act)] idx += 1