Skip to content

Commit

Permalink
revert last change
Browse files Browse the repository at this point in the history
  • Loading branch information
Tortar authored Jul 10, 2023
1 parent 80f9adc commit 28c75b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/AgentsArrow/AgentsArrow.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ using Agents, Arrow

function Agents.writer_arrow(filename, data, append)
if append
Arrow.write(filename, data; file = false)
Arrow.append(filename, data)
else
Arrow.write(filename, data)
Arrow.write(filename, data; file = false)
end
end

Expand Down

0 comments on commit 28c75b0

Please sign in to comment.