Skip to content

Commit

Permalink
#566 LocalG include neighbors with undefined values as neighbors
Browse files Browse the repository at this point in the history
  • Loading branch information
lixun910 committed Jan 25, 2017
1 parent f4167a4 commit 743da57
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Explore/GStatCoordinator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ void GStatCoordinator::AllocateVectors()

x_undefs.resize(tms);
Gal_vecs.resize(tms);
Gal_vecs_orig.resize(tms);


n.resize(tms, 0);
Expand Down Expand Up @@ -325,6 +326,7 @@ void GStatCoordinator::InitFromVarInfo()
}
W = gw->gal ;
Gal_vecs[t] = gw;
Gal_vecs_orig[t] = w_man_int->GetGal(w_id);
}

x = x_vecs[t];
Expand Down
1 change: 1 addition & 0 deletions Explore/GStatCoordinator.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ class GStatCoordinator : public WeightsManStateObserver

boost::uuids::uuid w_id;
std::vector<GalWeight*> Gal_vecs;
std::vector<GalWeight*> Gal_vecs_orig;
wxString weight_name;

int num_obs; // total # obs including neighborless obs
Expand Down
4 changes: 2 additions & 2 deletions version.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ namespace Gda {
const int version_major = 1;
const int version_minor = 8;
const int version_build = 15;
const int version_subbuild = 15;
const int version_subbuild = 17;
const int version_year = 2017;
const int version_month = 1;
const int version_day = 24;
const int version_day = 25;
const int version_night = 0;
const int version_type = 2; // 0: alpha, 1: beta, 2: release
}

0 comments on commit 743da57

Please sign in to comment.