Skip to content

Commit

Permalink
Merge pull request #24 from sheryjoe/master
Browse files Browse the repository at this point in the history
Fixed initial relative weighting to reflect weighting the sampling part of the objective function
  • Loading branch information
sheryjoe committed Jun 29, 2015
2 parents cee664b + 759e0a0 commit d75762c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ShapeWorksRun/ShapeWorksRunApp.txx
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,8 @@ ShapeWorksRunApp<SAMPLERTYPE>::SetUserParameters(const char *fname)
}
}

this->m_initial_relative_weighting = 0.05;
//this->m_initial_relative_weighting = 0.05;
this->m_initial_relative_weighting = 20; // shireen - sampling is now the weighted part we increase it during init
elem = docHandle.FirstChild( "initial_relative_weighting" ).Element();
if (elem) this->m_initial_relative_weighting = atof(elem->GetText());

Expand Down

0 comments on commit d75762c

Please sign in to comment.