Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
willow-ahrens committed Jan 4, 2024
1 parent f867d32 commit aa12f68
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/tensors/fibers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -281,4 +281,4 @@ Base.summary(fbr::SubFiber) = "$(join(size(fbr), "×")) SubFiber($(summary(fbr.l
Base.similar(fbr::AbstractFiber) = Fiber(similar_level(fbr.lvl))
Base.similar(fbr::AbstractFiber, dims::Tuple) = Fiber(similar_level(fbr.lvl, dims...))

moveto(fiber::Fiber, device) = Fiber(moveto(fiber.lvl, device))
moveto(fiber::Fiber, device) = Fiber(moveto(fiber.lvl, device))
1 change: 1 addition & 0 deletions src/tensors/levels/denselevels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ function instantiate(trv::DenseTraversal, ctx, mode, subprotos, ::Union{typeof(d
Ti = lvl.Ti

q = freshen(ctx.code, tag, :_q)

Furlable(
body = (ctx, ext) -> Lookup(
body = (ctx, i) -> Thunk(
Expand Down
6 changes: 0 additions & 6 deletions src/util/util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,6 @@ function resize_if_smaller!(arr, i)
end
end

function resize_if_larger!(arr, i)
if length(arr) >= i
resize!(arr, i)
end
end

"""
pretty(ex)
Expand Down

0 comments on commit aa12f68

Please sign in to comment.