Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
e277165
1
Parent(s):
cc6661a
Change id function to not be anon
Browse files- julia/sr.jl +4 -1
julia/sr.jl
CHANGED
@@ -55,7 +55,10 @@ else
|
|
55 |
end
|
56 |
|
57 |
|
58 |
-
id
|
|
|
|
|
|
|
59 |
const nuna = size(unaops)[1]
|
60 |
const nbin = size(binops)[1]
|
61 |
const nops = nuna + nbin
|
|
|
55 |
end
|
56 |
|
57 |
|
58 |
+
function id(x::Float32)::Float32
|
59 |
+
x
|
60 |
+
end
|
61 |
+
|
62 |
const nuna = size(unaops)[1]
|
63 |
const nbin = size(binops)[1]
|
64 |
const nops = nuna + nbin
|