Skip to content

Commit

Permalink
Simplify state conversions in Composition and missing bit in CCrystal.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhernandezgarcia committed Dec 9, 2023
1 parent 261b8fb commit b07e258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gflownet/envs/crystals/ccrystal.py
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ def states2proxy(
states = tfloat(states, device=self.device, float_type=self.float)
return torch.cat(
[
subenv.states2oracle(self._get_states_of_subenv(states, stage))
subenv.states2proxy(self._get_states_of_subenv(states, stage))
for stage, subenv in self.subenvs.items()
],
dim=1,
Expand Down

0 comments on commit b07e258

Please sign in to comment.