Skip to content

Commit

Permalink
Fix allfeatvalues
Browse files Browse the repository at this point in the history
  • Loading branch information
giopaglia committed Dec 4, 2024
1 parent e56a684 commit d8d9b06
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/dimensional-structures/logiset.jl
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,8 @@ end
function allfeatvalues(
X::UniformFullDimensionalLogiset,
)
unique(X.featstruct)
error("TODO only look at upper half")
vec(X.featstruct)
end

function allfeatvalues(
Expand All @@ -461,12 +462,20 @@ end
function allfeatvalues(
X::UniformFullDimensionalLogiset,
i_instance,
f,
f::AbstractFeature,
)
return error("Please, provide method allfeatvalues(::" *
"$(typeof(X)), i_instance::$(typeof(i_instance)), f::$(typeof(f))).")
end

function allfeatvalues(
X::UniformFullDimensionalLogiset,
f::AbstractFeature,
)
return error("Please, provide method allfeatvalues(::" *
"$(typeof(X)), f::$(typeof(f))).")
end

############################################################################################

function instances(
Expand Down

0 comments on commit d8d9b06

Please sign in to comment.