Skip to content

Commit 9eb2705

Browse files
committed
format
1 parent aab2e4a commit 9eb2705

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

NDTensors/ext/NDTensorsDaggerExt/set_types.jl

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
using Dagger: Dagger, Blocks, DArray
33
using NDTensors: NDTensors
44
using NDTensors.TypeParameterAccessors:
5-
TypeParameterAccessors, Position, default_type_parameters, parameter, position, set_type_parameters
5+
TypeParameterAccessors,
6+
Position,
7+
default_type_parameters,
8+
parameter,
9+
position,
10+
set_type_parameters
611

712
blocktype(darray::DArray) = blocktype(typeof(darray))
813
blocktype(darrayT::Type{<:DArray}) = parameter(darrayT, position(darrayT, blocktype))
@@ -14,7 +19,7 @@ end
1419
concattype(darray::DArray) = concattype(typeof(darray))
1520
concattype(darrayT::Type{<:DArray}) = parameter(darrayT, position(darrayT, concattype))
1621

17-
function TypeParameterAccessors.position(::Type{<:DArray}, ::typeof(concattype))
22+
function TypeParameterAccessors.position(::Type{<:DArray}, ::typeof(concattype))
1823
return Position(4)
1924
end
2025

0 commit comments

Comments
 (0)