Skip to content

Commit

Permalink
Merge pull request #636 from peter-lehner/patch-1
Browse files Browse the repository at this point in the history
Added missing function argument
  • Loading branch information
rcurtin committed Jul 1, 2016
2 parents bdbc2fe + fddb236 commit 36d731b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mlpack/methods/gmm/gmm_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ double GMM::Train(const arma::mat& observations,
weightsTrial = weightsOrig;
}

fitter.Estimate(observations, distsTrial, weightsTrial, useExistingModel);
fitter.Estimate(observations, probabilities, distsTrial, weightsTrial, useExistingModel);

// Check to see if the log-likelihood of this one is better.
double newLikelihood = LogLikelihood(observations, distsTrial,
Expand Down

0 comments on commit 36d731b

Please sign in to comment.