Skip to content

Commit

Permalink
fixup! make arrays follow alignment as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Jun 2, 2017
1 parent 03f1722 commit f487f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/array.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ static inline jl_array_t *_new_array(jl_value_t *atype, uint32_t ndims, size_t *
isunboxed = store_unboxed(el_type);
if (isunboxed) {
elsz = jl_datatype_size(el_type);
elalign =jl_datatype_size(el_type);
elalign = jl_datatype_align(el_type);
}
return _new_array_(atype, ndims, dims, isunboxed, elsz, elalign);
}
Expand Down

0 comments on commit f487f73

Please sign in to comment.