Skip to content

Commit

Permalink
#502 rates map supports undef
Browse files Browse the repository at this point in the history
  • Loading branch information
lixun910 committed Oct 19, 2016
1 parent 0be5883 commit 61c23cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Explore/MapNewView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,11 @@ void MapCanvas::CreateAndUpdateCategories()
bool hasZeroBaseVal = false;
std::vector<bool>& hs = highlight_state->GetHighlight();
std::vector<bool> hs_backup = hs;

for (int i=0; i<num_obs; i++) {
if (undef_res[i])
continue;

if (P[i] == 0) {
hasZeroBaseVal = true;
hs[i] = false;
Expand Down

0 comments on commit 61c23cb

Please sign in to comment.