We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5ab879 commit b7f53c0Copy full SHA for b7f53c0
NEWS.md
@@ -4,6 +4,8 @@
4
5
* Small changes in C++ formatting and conventions to please CRAN.
6
7
+* Fixes a bug when using the stationary value of the root node probability.
8
+
9
10
# Changes in aphylo version 0.3-0
11
src/TreeData.hpp
@@ -224,7 +224,7 @@ class TreeData {
224
for (auto iter = types.begin(); iter != types.end(); ++iter) {
225
226
if (*iter == 0u) {
227
- this->prop_type_d =+ increments;
+ this->prop_type_d += increments;
228
} else if (*iter != 1u)
229
throw std::invalid_argument("Values in the type of node should be either 0 or 1.");
230
0 commit comments