Skip to content

Commit 1f2c97c

Browse files
committed
remove error line from coverage
1 parent d31df1b commit 1f2c97c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FileFormats/ONNX.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function read_ONNX(filename::String; input_dimension=nothing)
109109
@assert args[2]._op.id == idx - 1
110110
act = args[1]
111111
else
112-
@assert false "cannot parse activation $op"
112+
throw(ArgumentError("cannot parse activation $op")) # COV_EXCL_LINE
113113
end
114114
a = available_activations[string(act)]
115115
idx += 1

0 commit comments

Comments
 (0)