Skip to content

Commit

Permalink
type
Browse files Browse the repository at this point in the history
  • Loading branch information
ofrei committed Sep 7, 2018
1 parent fd48370 commit 6e8549f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/source.cc
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ void fix_and_validate(SimuOptions& simu_options, po::variables_map& vm, Logger&
throw std::invalid_argument(std::string("ERROR: --trait2-snp-offset is incompatible with --causal-regions"));
if (!simu_options.causal_variants.empty())
throw std::invalid_argument(std::string("ERROR: --trait2-snp-offset is incompatible with --causal-variants"));
if (!simu_options.rg[0] != DEFAULT_RG)
if (simu_options.rg[0] != DEFAULT_RG)
throw std::invalid_argument(std::string("ERROR: --trait2-snp-offset is incompatible with --rg"));

// technical trick: the easiest way to implement --trait2-snp-ofset is to say that there are 3 components.
Expand Down

0 comments on commit 6e8549f

Please sign in to comment.