Skip to content

Commit 56d0961

Browse files
committed
Update variable naming
Update variable naming convention to be consistent with the rest of the code.
1 parent e5d7693 commit 56d0961

File tree

4 files changed

+317
-317
lines changed

4 files changed

+317
-317
lines changed

model/model.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ cmaple::Model::Model( cmaple::PositionType ref_genome_size,
1010
bool _rate_variation,
1111
bool _siteRates,
1212
cmaple::RealNumType wt_pseudocount,
13-
const std::string _ratesFilename,
13+
const std::string _rates_filename,
1414
const cmaple::ModelBase::SubModel sub_model,
1515
const cmaple::SeqRegion::SeqType seqtype)
1616
: model_base(nullptr) {
@@ -67,7 +67,7 @@ cmaple::Model::Model( cmaple::PositionType ref_genome_size,
6767
}
6868
case cmaple::SeqRegion::SEQ_DNA: {
6969
if(rate_variation){
70-
model_base = new ModelDNARateVariation(n_sub_model, ref_genome_size, _siteRates, wt_pseudocount, _ratesFilename);
70+
model_base = new ModelDNARateVariation(n_sub_model, ref_genome_size, _siteRates, wt_pseudocount, _rates_filename);
7171
} else {
7272
model_base = new ModelDNA(n_sub_model);
7373
}

model/model.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class Model {
5050
bool _rate_variation,
5151
bool _siteRates,
5252
cmaple::RealNumType wt_pseudocount,
53-
const std::string _ratesFilename,
53+
const std::string _rates_filename,
5454
const cmaple::ModelBase::SubModel sub_model = cmaple::ModelBase::DEFAULT,
5555
const cmaple::SeqRegion::SeqType seqtype = cmaple::SeqRegion::SEQ_AUTO);
5656

0 commit comments

Comments
 (0)