Skip to content

Commit e4bf96d

Browse files
committed
bug fix
1 parent 412d86f commit e4bf96d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/byrow/util.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function write_vals!(a, pos, x::Integer)
110110
needed_space = neg + ndigits(x)
111111
available_space = length(a)-pos+1
112112
needed_space > available_space && throw(ArgumentError("not enough space in buffer to write value into it"))
113-
_base!(a, pos, 10, x, 0, neg)
113+
_base!(a, pos, 10, n_positive, 0, neg)
114114
pos+needed_space
115115
end
116116

0 commit comments

Comments
 (0)