[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Color By Frequency
From: |
Carnë Draug |
Subject: |
Re: Color By Frequency |
Date: |
Mon, 30 Jan 2012 11:16:38 +0000 |
On 27 January 2012 20:14, mmesser314 <address@hidden> wrote:
> I took a very quick look. There are a couple trivial bugs.
>
> if (nargin < 1 || nargin > 3)
> print_usage;
> elseif (!isnumeric (wavelength) || !isscalar (wavelength) || wavelength >
> 0)
> error ("wavelength must a positive numeric scalar");
> elseif (!isnumeric (intensity_max) || !isscalar (intensity_max) ||
> intensity_max > 0)
> error ("intensity_max must a positive numeric scalar");
>
> This should be
> wavelength <= 0
> and
> intensity_max <= 0
You're right. I have just applied this change. Thank you,
Carnë