Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
giopaglia committed Aug 7, 2023
1 parent 1f3115b commit a3605c7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/apply.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,12 @@ function apply(leaf::DTLeaf, Xs, i_instance::Integer, worlds::AbstractVector{<:A
end

function apply(leaf::NSDTLeaf, Xs, i_instance::Integer, worlds::AbstractVector{<:AbstractWorldSet}; suppress_parity_warning = false)
if Xs isa AbstractVector
println(length(Xs))
println(typeof(first(Xs)))
println(first(Xs))
end
d = slicedataset(Xs, [i_instance])
println(typeof(Xs))
println(Xs isa MultiLogiset ? nothing : length(Xs))

println(typeof(d))
println(hasmethod(length, (typeof(d),)) ? length(d) : nothing)
println(hasmethod(size, (typeof(d),)) ? size(d) : nothing)
Expand Down

0 comments on commit a3605c7

Please sign in to comment.