File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010## Bug Fixes
1111
12+ * Fixed assignment bug in RFX category tracker data structure [ #360 ] ( https://github.com/StochasticTree/stochtree/pull/360 )
1213* Fixed several initialization, sampling and prediction bugs for cloglog [ #357 ] ( https://github.com/StochasticTree/stochtree/pull/357 )
1314* Fixed num_threads pass-through bug in R BART [ #339 ] ( https://github.com/StochasticTree/stochtree/pull/339 )
1415* Fixed probit offset bug in R and Python [ #337 ] ( https://github.com/StochasticTree/stochtree/pull/337 )
Original file line number Diff line number Diff line change 77
88## Bug Fixes
99
10+ * Fixed assignment bug in RFX category tracker data structure [ #360 ] ( https://github.com/StochasticTree/stochtree/pull/360 )
1011* Fixed several initialization, sampling and prediction bugs for cloglog [ #357 ] ( https://github.com/StochasticTree/stochtree/pull/357 )
1112* Fixed num_threads pass-through bug in R BART [ #339 ] ( https://github.com/StochasticTree/stochtree/pull/339 )
1213* Fixed probit offset bug in R and Python [ #337 ] ( https://github.com/StochasticTree/stochtree/pull/337 )
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ class SampleCategoryMapper {
6060
6161 inline void SetCategoryId (data_size_t sample_id, int category_id) {
6262 CHECK_LT (sample_id, num_observations_);
63- observation_indices_[sample_id] = sample_id ;
63+ observation_indices_[sample_id] = category_id ;
6464 }
6565
6666 inline int NumObservations () {return num_observations_;}
You can’t perform that action at this time.
0 commit comments