|
|
Experimental Physics and
| ||||||||||||||
|
|
Index: dbLexRoutines.c =================================================================== RCS file: /net/phoebus/epicsmgr/cvsroot/epics/base/src/dbStatic/dbLexRoutines.c,v retrieving revision 1.27.2.17 diff -u -b -r1.27.2.17 dbLexRoutines.c --- dbLexRoutines.c 18 Apr 2007 19:57:17 -0000 1.27.2.17 +++ dbLexRoutines.c 13 Aug 2007 15:04:51 -0000 @@ -45,6 +45,9 @@ epicsShareDef int dbRecordsOnceOnly=0; epicsExportAddress(int,dbRecordsOnceOnly); +epicsShareDef int dbBptNotMonotonic=0;
+epicsExportAddress(int,dbBptNotMonotonic);
+
/*private routines */
static void yyerrorAbort(char *str);
static void allocTemp(void *pvoid);
@@ -874,7 +877,7 @@
(paBrkInt[i+1].raw - paBrkInt[i].raw);
if (i == 0) {
down = (slope < 0);
- } else if (down != (slope < 0)) {
+ } else if (!dbBptNotMonotonic && down != (slope < 0)) {
yyerrorAbort("breaktable: curve slope changes sign");
return;
}- Andrew -- When a distinguished but elderly scientist states that something is possible, he is almost certainly right. When he states that something is impossible, he is very probably wrong. -- Arthur C. Clarke
| ||||||||||||||
| ANJ, 10 Nov 2011 |
·
Home
·
News
·
About
·
Talk
·
Base
·
Modules
·
Extensions
·
· Distributions · Download · Documents · Links · Licensing · |