Skip to content

Commit d75762c

Browse files
committed
Merge pull request #24 from sheryjoe/master
Fixed initial relative weighting to reflect weighting the sampling part of the objective function
2 parents cee664b + 759e0a0 commit d75762c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ShapeWorksRun/ShapeWorksRunApp.txx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,8 @@ ShapeWorksRunApp<SAMPLERTYPE>::SetUserParameters(const char *fname)
755755
}
756756
}
757757

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

0 commit comments

Comments
 (0)