We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cab197c commit 68e0c7cCopy full SHA for 68e0c7c
src/functions.jl
@@ -914,6 +914,11 @@ function Base.isapprox(
914
)
915
end
916
917
+# This method is used by CBF in testing.
918
+function Base.isapprox(f::VectorOfVariables, g::VectorAffineFunction; kwargs...)
919
+ return isapprox(convert(typeof(g), f), g; kwargs...)
920
+end
921
+
922
_is_approx(x, y; kwargs...) = isapprox(x, y; kwargs...)
923
924
function _is_approx(x::AbstractArray, y::AbstractArray; kwargs...)
0 commit comments