Skip to content

Commit

Permalink
Fixes for eris 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jagerman committed Jun 23, 2015
1 parent 4d428b0 commit c72f18b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions creativity/gui/InfoWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

using namespace eris;
using namespace creativity::state;
using namespace creativity::belief;
using namespace eris::belief;
using namespace Eigen;

namespace creativity { namespace gui {

Expand Down Expand Up @@ -321,13 +322,13 @@ void InfoWindow::refresh(std::shared_ptr<const State> state) {

updateValue("_p_draws", r.profit.draw_rejection_success);
updateValue("_p_discards", r.profit.draw_rejection_discards);
updateValue("_p_drawtype", r.profit.last_draw_mode == LinearRestricted::DrawMode::Gibbs ? "gibbs" : "rejection");
updateValue("_p_drawtype", r.profit.last_draw_mode == BayesianLinearRestricted::DrawMode::Gibbs ? "gibbs" : "rejection");
updateValue("_pe_draws", r.profitExtrap().draw_rejection_success);
updateValue("_pe_discards", r.profitExtrap().draw_rejection_discards);
updateValue("_pe_drawtype", r.profitExtrap().last_draw_mode == LinearRestricted::DrawMode::Gibbs ? "gibbs" : "rejection");
updateValue("_pe_drawtype", r.profitExtrap().last_draw_mode == BayesianLinearRestricted::DrawMode::Gibbs ? "gibbs" : "rejection");
updateValue("_d_draws", r.demand.draw_rejection_success);
updateValue("_d_discards", r.demand.draw_rejection_discards);
updateValue("_d_drawtype", r.demand.last_draw_mode == LinearRestricted::DrawMode::Gibbs ? "gibbs" : "rejection");
updateValue("_d_drawtype", r.demand.last_draw_mode == BayesianLinearRestricted::DrawMode::Gibbs ? "gibbs" : "rejection");

for (unsigned long a : Reader::profit_stream_ages) {
std::string code_prefix = "ps" + std::to_string(a) + "_";
Expand Down

0 comments on commit c72f18b

Please sign in to comment.