Skip to content

Commit

Permalink
Respond to reviewer comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasColthurst committed Jul 30, 2024
1 parent 75f7279 commit bf57e9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cxx/pclean/get_joint_relations.hh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "pclean/schema.hh"

// Given the joint_name and params in the ScalarVar, and a list of domains,
// return a clean elation containing the generative distribution for the
// return a clean relation containing the generative distribution for the
// variable.
T_clean_relation get_distribution_relation(
const ScalarVar& scalar_var,
Expand Down
2 changes: 1 addition & 1 deletion cxx/pclean/schema_helper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ T_schema PCleanSchemaHelper::make_hirm_schema() {
if (const ScalarVar* dv = std::get_if<ScalarVar>(&(v.spec))) {
std::vector<std::string> domains;
domains.push_back(c.name);
for (const std::string& sc : get_source_classes(c.name)) {
for (const std::string& sc : get_ancestor_classes(c.name)) {
domains.push_back(sc);
}
tschema[rel_name] = get_distribution_relation(*dv, domains);
Expand Down

0 comments on commit bf57e9c

Please sign in to comment.