fixed problogbdd compilation warnings
This commit is contained in:
parent
0c7f207627
commit
90041919d4
@ -7,8 +7,8 @@
|
|||||||
* *
|
* *
|
||||||
* Author: Bernd Gutmann *
|
* Author: Bernd Gutmann *
|
||||||
* File: problogmath.c *
|
* File: problogmath.c *
|
||||||
* $Date:: 2010-10-06 13:20:59 +0200 (Wed, 06 Oct 2010) $ *
|
* $Date:: 2010-12-17 12:21:58 +0100 (Fri, 17 Dec 2010) $ *
|
||||||
* $Revision:: 4880 $ *
|
* $Revision:: 5159 $ *
|
||||||
* *
|
* *
|
||||||
********************************************************************************
|
********************************************************************************
|
||||||
* *
|
* *
|
||||||
@ -187,7 +187,7 @@
|
|||||||
\******************************************************************************/
|
\******************************************************************************/
|
||||||
|
|
||||||
#include "problogmath.h"
|
#include "problogmath.h"
|
||||||
|
#include "general.h"
|
||||||
|
|
||||||
double sigmoid(double x, double slope) {
|
double sigmoid(double x, double slope) {
|
||||||
return 1.0 / (1.0 + exp(-x * slope));
|
return 1.0 / (1.0 + exp(-x * slope));
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
* *
|
* *
|
||||||
* Author: Bernd Gutmann *
|
* Author: Bernd Gutmann *
|
||||||
* File: problogmath.h *
|
* File: problogmath.h *
|
||||||
* $Date:: 2010-10-06 13:20:59 +0200 (Wed, 06 Oct 2010) $ *
|
* $Date:: 2010-12-17 12:21:58 +0100 (Fri, 17 Dec 2010) $ *
|
||||||
* $Revision:: 4880 $ *
|
* $Revision:: 5159 $ *
|
||||||
* *
|
* *
|
||||||
********************************************************************************
|
********************************************************************************
|
||||||
* *
|
* *
|
||||||
@ -212,4 +212,6 @@ double cumulative_normal_upper(double high, double mu, double sigma);
|
|||||||
double cumulative_normal_upper_dsigma(double high,double mu,double sigma);
|
double cumulative_normal_upper_dsigma(double high,double mu,double sigma);
|
||||||
double cumulative_normal_upper_dmu(double high,double mu,double sigma);
|
double cumulative_normal_upper_dmu(double high,double mu,double sigma);
|
||||||
|
|
||||||
|
double normal(double x, double mu,double sigma);
|
||||||
|
|
||||||
density_integral parse_density_integral_string(char *input, char *variablename);
|
density_integral parse_density_integral_string(char *input, char *variablename);
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
* *
|
* *
|
||||||
* Author: Theofrastos Mantadelis *
|
* Author: Theofrastos Mantadelis *
|
||||||
* File: simplecudd.c *
|
* File: simplecudd.c *
|
||||||
* $Date:: 2010-10-06 13:20:59 +0200 (Wed, 06 Oct 2010) $ *
|
* $Date:: 2010-12-17 12:21:58 +0100 (Fri, 17 Dec 2010) $ *
|
||||||
* $Revision:: 4880 $ *
|
* $Revision:: 5159 $ *
|
||||||
* *
|
* *
|
||||||
********************************************************************************
|
********************************************************************************
|
||||||
* *
|
* *
|
||||||
@ -1688,7 +1688,7 @@ int GetParam(char *inputline, int iParam) {
|
|||||||
|
|
||||||
void onlinetraverse(DdManager *manager, namedvars varmap, hisqueue *HisQueue, DdNode *bdd) {
|
void onlinetraverse(DdManager *manager, namedvars varmap, hisqueue *HisQueue, DdNode *bdd) {
|
||||||
char buf, *inputline;
|
char buf, *inputline;
|
||||||
int icur, maxlinesize, iline, index, iloop, iQsize, i, inQ, iRoot; //ivalue,
|
int icur, maxlinesize, iline, index, iloop, iQsize, i, iRoot; //ivalue,inQ,
|
||||||
// double dvalue;
|
// double dvalue;
|
||||||
DdNode **Q, **Q2, *h_node, *l_node, *curnode;
|
DdNode **Q, **Q2, *h_node, *l_node, *curnode;
|
||||||
hisqueue *his;
|
hisqueue *his;
|
||||||
|
Reference in New Issue
Block a user