 |
|
List Archives > 
Mathcad List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[mathcad] Re: Mathcad bug or programming error?
| [mathcad] Re: Mathcad bug or programming error? |
|
Author: Eden Mei
Posted: Mon, 28 Jan 2008 11:12:39 -0800
|
Looks to me like a programming error. The line immediately following the rnorm is loada the array with zeros, but you do this on every iteration, so every iteration, the array is again zeroed, until the last iteration, when columns 10 and 11 get populated but not zeroed. This is something that you don't do at all in the second program, so your claim of them being trivially different is not. Part of the problem is that you're using the same variable in two different places for two different things.
From: "Andy.Spragg"
To: Mathcad Discussion List
Sent: Monday, January 28, 2008 5:11 AM
Subject: [mathcad] Mathcad bug or programming error?
Hi folks,
The attached v11 worksheet contains two versions of a program, that I believe to be trivially different. The output from the two versions is utterly different. I spent altogether too long trying to find the error of my ways in one version, before scraping the barrel of reformulation and finding it not to be empty after all.
I seek opinions on whether the difference in output is due to Mathcad bug or programming error. If the former is the case, it is a pretty toxic bug (which may of course have long since been squashed). Can anyone please either point out my error, or test these programs in the current version of Mathcad?
Andy
|
[View Complete Thread]
Previous by date: [mathcad] RE: Mathcad bug or programming error?, Pergande, Albert N
Next by date: [mathcad] RE: [MathCAD] MathCAD bug or programming error?, Philip Oakley
Previous thread: [mathcad] Mathcad bug or programming error?, Andy Spragg
Next thread: [mathcad] Mathcad bug or programming error?, Andy Spragg
|
|
|