Mercurial > hg > octave-lyh
diff scripts/specfun/pow2.m @ 7742:95ecf219a582
fix tests
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 30 Apr 2008 14:18:36 -0400 |
parents | 8b7b4f58199f |
children | 81d6ab3ac93c |
line wrap: on
line diff
--- a/scripts/specfun/pow2.m +++ b/scripts/specfun/pow2.m @@ -66,8 +66,7 @@ %! x = [3, 0, -3, 4, 0, -4, 5, 0, -5]; %! y = [-2, -2, -2, 1, 1, 1, 3, 3, 3]; %! z = x .* (2 .^ y); -%! assert(all (abs (pow2 (x,y) - z) < sqrt (eps)) -%! ); +%! assert(all (abs (pow2 (x,y) - z) < sqrt (eps))); %!error pow2();