[BioCocoa-Dev] Project Update...cvs struggle

Koen van der Drift kvddrift at earthlink.net
Wed Mar 23 06:07:46 EST 2005


On Mar 23, 2005, at 3:15 AM, Charles PARNOT wrote:

> I added the symbol set code to the BCAbstractSequence and subclasses. 
> The code is much simpler as a result... BCSequence still needs a 
> little bit of work.
>

Very nice. I spotted this part:

	for (i=0;i<n;i++) {
		unichar aChar=[aString characterAtIndex:i];
		if (aSymbol=[aSet symbolForChar:aChar])
			[anArray addObject:aSymbol];
	}


Shouldn't that be

		if (aSymbol == [aSet symbolForChar:aChar])  ?

- Koen.




More information about the Biococoa-dev mailing list