Skip to content

Commit 85e0d03

Browse files
committed
Small fix (still doesn't fix the incorrect inner formula + inner formula addition)
1 parent f831c9f commit 85e0d03

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GlobalCode/Databases/MediumDecFormula.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ namespace BlazesRusCode
202202
{
203203
FormData::iterator targetElem = FormDRef.begin();
204204
if (targetElem->second.ElementCat != FormulaElementType::Variable)
205-
leftValue = targetElem->second.ElementCat == FormulaElementType::trueVal ? MediumDec::One : (targetElem->second.ElementCat == FormulaElementType::falseVal ? MediumDec::Zero : targetSegmentRef.NumMap[targetElem->first]);
205+
rightValue = targetElem->second.ElementCat == FormulaElementType::trueVal ? MediumDec::One : (targetElem->second.ElementCat == FormulaElementType::falseVal ? MediumDec::Zero : targetSegmentRef.NumMap[targetElem->first]);
206206
else
207207
continue;//Ignore operation with unknown variable value
208208
}

0 commit comments

Comments
 (0)