Skip to content

Commit

Permalink
Return to setting NAs in similar
Browse files Browse the repository at this point in the history
  • Loading branch information
simonster committed Nov 29, 2013
1 parent 53581c3 commit 96a6241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dataarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ end

# Similar array allocation
function Base.similar(d::DataArray, T::Type, dims::Dims)
DataArray(Array(T, dims), BitArray(dims))
DataArray(Array(T, dims), trues(dims))
end

# Size information
Expand Down

0 comments on commit 96a6241

Please sign in to comment.