Skip to content

Conversation

@amitmurthy
Copy link
Contributor

io=IOBuffer()
serialize(io, ref)
seekstart(io)
ref2=deserialize(io)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spaces around =

for fld in fieldnames(typeof(ref))
v = getfield(ref2, fld)
if isa(v, Number)
@test v == zero(typeof(v))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could be === to also ensure right type

@ararslan ararslan added the parallelism Parallel or distributed computation label Jul 18, 2017
@amitmurthy amitmurthy force-pushed the amitm/22341_zeroref branch from 08dd659 to d555193 Compare July 18, 2017 08:15
@amitmurthy
Copy link
Contributor Author

AV error is libgit2, Travis error is unrelated.
Merging this tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

parallelism Parallel or distributed computation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants