Skip to content

Commit f96214e

Browse files
committed
Remove redundant code
1 parent 4ceeed0 commit f96214e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/utilities/data_io.cxx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@ double read_point_estimate_from_toml(const ghc::filesystem::path file_path) {
1414
return read_point_estimate_from_toml(file_path, get_first_component(file_path));
1515
}
1616

17-
std::string read_distribution_from_toml(const ghc::filesystem::path file_path, const std::string &component){
18-
return read_parameter_from_toml(file_path, "distribution", component).as_string();
19-
}
20-
21-
std::string read_distribution_from_toml(const ghc::filesystem::path file_path){
22-
return read_parameter_from_toml(file_path, "distribution").as_string();
23-
}
24-
2517
toml::value read_parameter_from_toml(const ghc::filesystem::path file_path, const std::string &parameter) {
2618
return read_parameter_from_toml(file_path, parameter, get_first_component(file_path));
2719
}

0 commit comments

Comments
 (0)