Skip to content

Commit 9ee237e

Browse files
author
Joe Petviashvili
committed
float16 type
1 parent fb70afe commit 9ee237e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/util.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ function typed(::Type{T1},::Type{T2}) where {T1,T2}
111111
return Float64
112112
elseif T1 == Float32 || T2 == Float32
113113
return Float32
114+
elseif T1 == Float16 || T2 == Float16
115+
return Float16
114116
elseif T1 == UInt64 || T2 == UInt64
115117
return UInt64
116118
elseif T1 == Int64 || T2 == Int64

0 commit comments

Comments
 (0)