Message-ID: <971536df0505150740393390c6@mail.gmail.com>
Date: 2005-05-15T14:40:02Z
From: Gabor Grothendieck
Subject: Suppressing warning messages
In-Reply-To: <42875BE9.4030608@coubros.com>
On 5/15/05, Tolga Uzuner <tolga at coubros.com> wrote:
> How do I suppress the following ?
>
> Warning messages:
> 1: the condition has length > 1 and only the first element will be used
> in: if (strike == forward) atmvol(forward, t, alpha, beta, rho, upsilon)
> else {
> 2: the condition has length > 1 and only the first element will be used
> in: if (x(z) == 0) 1 else z/x(z)
Check out ?suppressWarnings