Post Reply 
WP 31S available at SourceForge
11-17-2014, 01:12 AM
Post: #96
RE: WP 31S available at SourceForge
If you browse the STAT catalog when no statistical data is available, certain entries that invoke sigma_val() from stats.c set an error code in the background that will cause a bogus error message to appear after the next command or key press.

Here's how to reproduce the problem:
1. Clear registers: [f] [CLEAR] [R] [ENTER] [Y]
2. Browse the STAT catalog: [f] [STAT] [up] [EXIT]
3. Do almost anything, for example: [1]
4. Error message appears: "Too few data points"

I've applied a simple fix in SVN: If sigmaN is zero, then sigma_val() bails out immediately without calling sigmaCheck() and setting an error code. This is very similar to what the 34S does.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
WP 31S available at SourceForge - walter b - 04-15-2014, 07:49 AM
RE: WP 31S available at SourceForge - Bit - 04-17-2014, 05:27 PM
WP 31S inquest - walter b - 04-30-2014, 10:31 AM
RE: WP 31S inquest - walter b - 04-30-2014, 11:20 AM
RE: WP 31S available at SourceForge - JimP - 05-02-2014, 11:18 PM
RE: WP 31S available at SourceForge - nsg - 07-16-2014, 01:18 AM
RE: WP 31S available at SourceForge - Bit - 11-13-2014, 05:11 AM
RE: WP 31S available at SourceForge - Bit - 11-13-2014, 01:22 PM
RE: WP 31S available at SourceForge - Bit - 11-13-2014, 04:35 PM
RE: WP 31S available at SourceForge - Bit - 11-16-2014, 04:35 AM
RE: WP 31S available at SourceForge - Bit - 11-17-2014, 01:52 AM
RE: WP 31S available at SourceForge - Bit - 01-31-2015, 03:01 PM
RE: WP 31S available at SourceForge - Bit - 11-17-2014 01:12 AM



User(s) browsing this thread: 1 Guest(s)