Fix type declaration for LossClosure (#1257)
Fix type declaration for LossClosure (#1257)

Co-authored-by: Neil Ferguson <88631dded1569892d4cf7f22339a3a1212c64a15@users.noreply.github.com>

GPflow/GPflow