Skip to content

Commit

Permalink
hard-code float32 dtype for now
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsKue committed Jul 2, 2024
1 parent 8b80304 commit 42afb18
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bayesflow/simulators/sequential_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@


class SequentialSimulator(Simulator):
def __init__(self, sample_fns: Sequence[callable], *, convert_dtypes: str = None, **kwargs):
def __init__(self, sample_fns: Sequence[callable], **kwargs):
self.inner = CompositeSimulator([FunctionalSimulator(fn, **kwargs) for fn in sample_fns])
self.convert_dtypes = convert_dtypes

def sample(self, batch_shape: Shape, **kwargs) -> dict[str, Tensor]:
data = self.inner.sample(batch_shape, **kwargs)
Expand Down

0 comments on commit 42afb18

Please sign in to comment.