Skip to content

Commit 4e06f34

Browse files
committed
Update surrogate code for new series return vals
1 parent 18883d8 commit 4e06f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

causal_testing/surrogate/surrogate_search_algorithms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def fitness_function(ga, solution, idx): # pylint: disable=unused-argument
4646

4747
ate = surrogate.estimate_ate_calculated(adjustment_dict)
4848

49-
return contradiction_function(ate)
49+
return contradiction_function(ate[0])
5050

5151
gene_types, gene_space = self.create_gene_types(surrogate, specification)
5252

0 commit comments

Comments
 (0)