Skip to content

Commit 1951867

Browse files
authored
fix TBHistogram (#90)
* 🐛 fix `TBHistogram` `name` is now correctly sent * bump version to v"0.1.15"
1 parent 483bb2e commit 1951867

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "TensorBoardLogger"
22
uuid = "899adc3e-224a-11e9-021f-63837185c80f"
33
authors = ["Filippo Vicentini <[email protected]>"]
4-
version = "0.1.14"
4+
version = "0.1.15"
55

66
[deps]
77
CRC32c = "8bf52ea8-c179-5cab-976a-9e18b702a9bc"

src/logger_dispatch_overrides.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ end
193193
content(x::TBHistogram) = x.data
194194
preprocess(name, val::TBHistogram{T,N}, data) where {T<:Complex,N} =
195195
push!(data, name*"/re"=>TBHistogram(real.(content(val))), name*"/im"=>TBHistogram(imag.(content(val))))
196-
preprocess(name, val::TBHistogram, data) = preprocess(data, fit(Histogram, val.data), data)
196+
preprocess(name, val::TBHistogram, data) = preprocess(name, fit(Histogram, val.data), data)
197197

198198
"""
199199
TBVector(data)

0 commit comments

Comments
 (0)