Archived
1

Fixed Evaluation of Powers and Factorials.

Added Error Messages.
This commit is contained in:
Kim Wittenburg
2014-11-25 17:47:57 +01:00
parent b4111c69e4
commit 66d06cc0f1
2 changed files with 8 additions and 3 deletions

View File

@@ -22,7 +22,7 @@
- (NSDecimalNumber *)doEvaluation:(NSError *__autoreleasing *)error
{
NSDecimalNumber *value = [self.value evaluate:error];
NSDecimalNumber *value = [self.term evaluate:error];
if (!value) {
return nil;
}