Skip to content

Commit

Permalink
fix bug in retrieving samples
Browse files Browse the repository at this point in the history
  • Loading branch information
Apostolos Chalkis committed Jul 18, 2023
1 parent c71b3c6 commit aa38f48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dingo/PolytopeSampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ def generate_steady_states_no_multiphase(
P = HPolytope(self._A, self._b)

samples = P.generate_samples(method, n, burn_in, thinning, self._parameters["fast_computations"])
samples = samples.T

steady_states = map_samples_to_steady_states(
samples, self._N, self._N_shift
Expand Down Expand Up @@ -263,6 +264,7 @@ def sample_from_polytope_no_multiphase(
except ImportError as e:
samples = P.generate_samples(method, n, burn_in, thinning, False)

samples = samples.T
return samples

@staticmethod
Expand Down

0 comments on commit aa38f48

Please sign in to comment.