Skip to content

Commit

Permalink
try 1.9 (#671)
Browse files Browse the repository at this point in the history
* try 1.9

* remove reinterpret weirdness
  • Loading branch information
rafaqz authored Mar 13, 2024
1 parent 94f4a38 commit 11d048d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
fail-fast: true
matrix:
version:
- '1.9'
- '1'
os:
- ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ TableTraits = "1"
Tables = "1"
Test = "1"
Unitful = "1"
julia = "1.10"
julia = "1.9"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Expand Down
4 changes: 1 addition & 3 deletions src/array/indexing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,7 @@ function _merge_and_index(f, A, inds)
f(A, m_inds)
end
else
d = only(dims_to_merge)
val_array = reinterpret(typeof(val(d)), dims_to_merge)
f(A, rebuild(d, val_array))
f(A, only(dims_to_merge))
end
end

Expand Down

0 comments on commit 11d048d

Please sign in to comment.