File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -247,25 +247,6 @@ function recursive_unwrap(x::AbstractDict)
247247 return anydict (unwrap (k) => recursive_unwrap (v) for (k, v) in x)
248248end
249249
250- """
251- $(TYPEDSIGNATURES)
252-
253- Return the appropriate zero value for a symbolic variable representing a number or array of
254- numbers. Sized array symbolics return a zero-filled array of matching size. Unsized array
255- symbolics return an empty array of the appropriate `eltype`.
256- """
257- function zero_var (x:: Symbolic{T} ) where {V <: Number , T <: Union{V, AbstractArray{V}} }
258- if Symbolics. isarraysymbolic (x)
259- if is_sized_array_symbolic (x)
260- return zeros (eltype (T), size (x))
261- else
262- return T[]
263- end
264- else
265- return zero (T)
266- end
267- end
268-
269250"""
270251 $(TYPEDSIGNATURES)
271252
You can’t perform that action at this time.
0 commit comments