File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ int main (int argc, char *argv[]) {
285
285
// `Sample` and its children are classes for storing data from
286
286
// the pseudoalignment that are needed or not needed depending on
287
287
// the command line arguments.
288
- std::unique_ptr<mSWEEP ::Sample> sample;
288
+ std::unique_ptr<mSWEEP ::Sample> sample = std::make_unique< mSWEEP ::PlainSample>() ;
289
289
bool bootstrap_mode = args.value <size_t >(" iters" ) > (size_t )0 ;
290
290
bool bin_reads = args.value <bool >(" bin-reads" );
291
291
@@ -362,6 +362,7 @@ int main (int argc, char *argv[]) {
362
362
}
363
363
364
364
cxxio::In infile (args.value <std::string>(" read-likelihood" ));
365
+ log_likelihoods = std::make_unique<mSWEEP ::LL_WOR21<double , int64_t >>();
365
366
log_likelihoods->from_file (reference->n_groups (i), &infile.stream ());
366
367
} catch (std::exception &e) {
367
368
finalize (" Reading the likelihoods failed:\n " + std::string (e.what ()) + " \n exiting\n " , log , true );
You can’t perform that action at this time.
0 commit comments