Skip to content

Commit

Permalink
pr fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mberaha committed Jul 11, 2022
1 parent 1f82487 commit 89544e1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ resources/2d
.idea/
# Build debug folder
cmake-build-debug/
# lib/math/ folder
# lib/math/ folder
lib/math/
# .old folders
src/hierarchies/updaters/.old/
test/.old/
examples/gamma_hierarchy/.old/
.env
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ endif()
project(bayesmix)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_BUILD_TYPE Debug)
set(CMAKE_BUILD_TYPE Release)

set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH})
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -funroll-loops -fopenmp -ftree-vectorize -Wno-deprecated")
Expand Down
1 change: 0 additions & 1 deletion python/reproducibility/replicate_jss_paper.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
OUTPUT_PATH = "reproducibility"

ALGORITHMS = "Neal2 Neal3 Neal8 SplitMerge".split()
# ALGORITHMS = ["Neal3"]

ALGO_SETTINGS = """
algo_id: "{}"
Expand Down
4 changes: 2 additions & 2 deletions resources/tutorial/algo.asciipb
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
##### GENERIC SETTINGS FOR ALL ALGORITHMS #####
# Algorithm ID string, e.g. "Neal2"
algo_id: "SplitMerge"
algo_id: "Neal2"

# RNG initial seed: any nonnegative integer
rng_seed: 20201124

# Number of iterations of the algorithm
iterations: 4000
iterations: 1100

# Number of initial iterations discarded by the algorithm
burnin: 100
Expand Down
7 changes: 0 additions & 7 deletions src/hierarchies/updaters/nnw_updater.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,6 @@ class NNWUpdater

ProtoHypersPtr compute_posterior_hypers(AbstractLikelihood &like,
AbstractPriorModel &prior) override;

std::shared_ptr<AbstractUpdater> clone() const override {
auto out =
std::make_shared<NNWUpdater>(static_cast<NNWUpdater const &>(*this));
out->clear_hypers();
return out;
}
};

#endif // BAYESMIX_HIERARCHIES_UPDATERS_NNW_UPDATER_H_

0 comments on commit 89544e1

Please sign in to comment.