Skip to content

Commit

Permalink
Fix for Mantis bug 2040
Browse files Browse the repository at this point in the history
  • Loading branch information
ganelson committed Apr 7, 2022
1 parent 4a252c1 commit 2a4e9dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions inform7/if-module/Chapter 3/Spatial Model.w
Expand Up @@ -1027,6 +1027,7 @@ the absence of other information.)
}
}
if (portable) {
current_sentence = Instances::get_creating_sentence(I);
EitherOrProperties::assert(
P_fixed_in_place, Instances::as_subject(I), FALSE, CERTAIN_CE);
}
Expand Down
2 changes: 2 additions & 0 deletions inform7/knowledge-module/Chapter 5/Property Inferences.w
Expand Up @@ -103,6 +103,8 @@ int PropertyInferences::explain_contradiction(inference_family *f, inference *A,
inference *B, int similarity, inference_subject *subj) {
property_inference_data *A_data = RETRIEVE_POINTER_property_inference_data(A->data);
property_inference_data *B_data = RETRIEVE_POINTER_property_inference_data(B->data);
LOG("A = $I\nB = $I\n", A, B);
current_sentence = B->inferred_from;
if (B_data->inferred_property == P_variable_initial_value) {
StandardProblems::two_sentences_problem(_p_(PM_VariableContradiction),
A->inferred_from,
Expand Down

0 comments on commit 2a4e9dd

Please sign in to comment.