File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 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[]) {
285285 // `Sample` and its children are classes for storing data from
286286 // the pseudoalignment that are needed or not needed depending on
287287 // the command line arguments.
288- std::unique_ptr<mSWEEP ::Sample> sample;
288+ std::unique_ptr<mSWEEP ::Sample> sample = std::make_unique< mSWEEP ::PlainSample>() ;
289289 bool bootstrap_mode = args.value <size_t >(" iters" ) > (size_t )0 ;
290290 bool bin_reads = args.value <bool >(" bin-reads" );
291291
@@ -362,6 +362,7 @@ int main (int argc, char *argv[]) {
362362 }
363363
364364 cxxio::In infile (args.value <std::string>(" read-likelihood" ));
365+ log_likelihoods = std::make_unique<mSWEEP ::LL_WOR21<double , int64_t >>();
365366 log_likelihoods->from_file (reference->n_groups (i), &infile.stream ());
366367 } catch (std::exception &e) {
367368 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