We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52f2ffc commit b754c50Copy full SHA for b754c50
src/models.jl
@@ -3,10 +3,10 @@ using Lux
3
function select_and_preprocess((point, atoms); cutoff_radius)
4
select_and_preprocess(point, atoms; cutoff_radius)
5
end
6
-function select_and_preprocess(point::Batch, atoms::AnnotedKDTree; cutoff_radius)
+function select_and_preprocess(point::Batch, atoms::AnnotedKDTree{Sphere{T}}; cutoff_radius) where T
7
neighboord = Folds.map(point.field) do point
8
- select_neighboord(point, atoms; cutoff_radius)
9
- end |> Batch
+ select_neighboord(point, atoms; cutoff_radius)::StructVector{Sphere{T}}
+ end |> Batch{Vector{<:StructVector{Sphere{T}}}}
10
preprocessing((point, neighboord))
11
12
0 commit comments