Skip to content

Commit

Permalink
bug
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-alt committed Oct 18, 2023
1 parent d986dec commit 1dc56d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/counterfactuals/search.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ Wrapper function that applies underlying domain constraints.
"""
function apply_domain_constraints!(ce::CounterfactualExplanation)
ce.x′ = apply_domain_constraints(ce.data, ce.x′) # apply domain constraints in feature space
ce.s′ = encode_state(ce.x′) # re-encode counterfactual state
ce.s′ = encode_state(ce, ce.x′) # re-encode counterfactual state
end

0 comments on commit 1dc56d0

Please sign in to comment.