Skip to content

Commit e0fd502

Browse files
committed
Fixups to merge
1 parent 9f8ba9d commit e0fd502

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/games/gametable.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,7 @@ template <class T> class ProductDistribution {
274274
template <class T> class TableMixedStrategyProfileRep : public MixedStrategyProfileRep<T> {
275275
public:
276276
explicit TableMixedStrategyProfileRep(const StrategySupportProfile &p_support)
277-
: MixedStrategyProfileRep<T>(p_support),
278-
m_pureStrategies(p_support.GetGame()->m_pureStrategies)
277+
: MixedStrategyProfileRep<T>(p_support)
279278
{
280279
}
281280
~TableMixedStrategyProfileRep() override = default;

src/games/stratspt.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,9 @@ class StrategySupportProfile {
101101
Array<size_t> GetShape() const
102102
{
103103
Array<size_t> shape(NumPlayers());
104-
std::transform(m_strategies.m_allowedDigits.begin(), m_strategies.m_allowedDigits.end(),
105-
shape.begin(), [](const auto &c) { return c.size(); });
104+
std::transform(m_strategyDigits.m_allowedDigits.begin(),
105+
m_strategyDigits.m_allowedDigits.end(), shape.begin(),
106+
[](const auto &c) { return c.size(); });
106107
return shape;
107108
}
108109
template <class T> MixedStrategyProfile<T> NewMixedStrategyProfile() const;

0 commit comments

Comments
 (0)