Message-ID: <030b428c-042b-4134-9b4a-5b0e3eae56e2@me.com>
Date: 2015-05-11T01:03:23Z
From: Glenn Schultz
Subject: Code works on Mac but not Windows
Hello All,
Testing my code on a Windows based machine today. ?There seems to be an offending line of code. ?I have pasted it below. ?Basically, I check to see if the user passed a fit method to TermStructure and if not then default to "ns". ?
The above works fine on my Mac but a windows build errors no method. ?I have to pass a method = "ns" in the function. ?If I pass the value for method to the function it will run with no error. ?Any thoughts are appreciated.
Best Regards,
Glenn
? #Default method for TermStructure
? if(missing(method)) method = "ns"