Skip to content

Commit

Permalink
separate isbitstype(::Type) from isbits (#26850)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson authored Apr 19, 2018
1 parent 4496d2b commit effc914
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/clusterserialize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function syms_2b_sent(s::ClusterSerializer, identifier)
for sym in check_syms
v = getfield(Main, sym)

if isbits(v)
if isbitstype(typeof(v))
push!(lst, sym)
else
oid = objectid(v)
Expand All @@ -146,7 +146,7 @@ function serialize_global_from_main(s::ClusterSerializer, sym)

oid = objectid(v)
record_v = true
if isbits(v)
if isbitstype(typeof(v))
record_v = false
elseif !haskey(s.glbs_sent, oid)
# set up a finalizer the first time this object is sent
Expand Down

0 comments on commit effc914

Please sign in to comment.