Internal change.

PiperOrigin-RevId: 249873790
This commit is contained in:
A. Unique TensorFlower 2019-05-24 11:57:23 -07:00 committed by TensorFlower Gardener
parent f1a61d3b31
commit 83297b3b4d

View File

@ -54,7 +54,7 @@ public final class Interpreter {
TFL_InterpreterOptionsSetErrorReporter(
cOptions,
{ (_, format, args) -> Void in
// Workaround for Swift optionality bug: https://bugs.swift.org/browse/SR-3429.
// Workaround for optionality differences for x86_64 (non-optional) and arm64 (optional).
let optionalArgs: CVaListPointer? = args
guard let cFormat = format,
let arguments = optionalArgs,