Re: C'
dvanhorn <[email protected]>
| Newsgroups | gmane.org.ballistichelmet.lambda |
|---|---|
| Message-ID | <[email protected]> |
Jon wrote:
> dvanhorn wrote:
>
>>int is_factor(int y, int x) {
>> ((y == 0) || ((x % y) == 0));
>>}
>
> shouldn't it be:
>
> return ((y==0) || ((x % y) == 0));
Ah shit! Me and my expression-based thinking. That's the fix.
Thanks Jon.
-d