Skip to content

Commit

Permalink
Fixed initial relative weighting to reflect weighting the sampling pa…
Browse files Browse the repository at this point in the history
…rt of the objective function
  • Loading branch information
Shireen Elhabian committed Jun 29, 2015
1 parent 81a77f3 commit 759e0a0
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 759e0a0

Please sign in to comment.