EvgenyKarkan / EKAlgorithms

EKAlgorithms contains some well known CS algorithms & data structures.
MIT License
2.42k stars 362 forks source link

EKAlgorithmsExamples bug. #82

Closed sdrpa closed 10 years ago

sdrpa commented 10 years ago

Please fix:

EKAlgorithmsExamples crashes (XCode 5.1.1, OS 10.9): main.m, line 72, message: *\ Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSDictionary dictionaryWithObjectsAndKeys:]: second object of each pair must be non-nil. Or, did you forget to nil-terminate your parameter list?'

[oneArray addObject:[NSDictionary dictionaryWithObjectsAndKeys:@"EKAlgorithms100", nil]];

should be:

[oneArray addObject:[NSDictionary dictionaryWithObjectsAndKeys:@"EKAlgorithms100", someKey, nil]];
EvgenyKarkan commented 10 years ago

Thanks for opened an issue! @xhzengAIB, it seems that this issue occured because of your's recently added algorithm. Could you please check?

xhzengAIB commented 10 years ago

yet !i check it

xhzengAIB commented 10 years ago

got it!i modify today

EvgenyKarkan commented 10 years ago

Good news! Thank you @xhzengAIB :+1:

xhzengAIB commented 10 years ago

fix it