Changed auto solver selection to default to dense_cholesky when sample weights are given, even if input is sparse