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.
Float16
1 parent 10e6c7b commit a38c918Copy full SHA for a38c918
src/systems/parameter_buffer.jl
@@ -1,6 +1,6 @@
1
symconvert(::Type{Symbolics.Struct{T}}, x) where {T} = convert(T, x)
2
symconvert(::Type{T}, x) where {T} = convert(T, x)
3
-symconvert(::Type{Real}, x::Integer) = x
+symconvert(::Type{Real}, x::Integer) = convert(Float16, x)
4
symconvert(::Type{V}, x) where {V <: AbstractArray} = convert(V, symconvert.(eltype(V), x))
5
6
struct MTKParameters{T, I, D, C, N, H}
0 commit comments