Mercurial > hg > octave-nkf
changeset 1307:e357dced2de7
[project @ 1995-06-07 03:34:02 by jwe]
author | jwe |
---|---|
date | Wed, 07 Jun 1995 03:34:02 +0000 |
parents | f92615001614 |
children | 8c8a83cf184a |
files | scripts/miscellaneous/is_leap_year.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/miscellaneous/is_leap_year.m +++ b/scripts/miscellaneous/is_leap_year.m @@ -32,7 +32,7 @@ year = t (1); endif - retval = ((rem (year, 4) == 0 && rem (year, 100) != 0) ... - || rem (year, 400) == 0); + retval = ((rem (year, 4) == 0 & rem (year, 100) != 0) ... + | rem (year, 400) == 0); endfunction