|
|
@ -536,9 +536,9 @@ int32_t LP_mypriceset(int32_t *changedp,char *base,char *rel,double price) |
|
|
|
} |
|
|
|
else if ( (maxprice= relpp->minprices[basepp->ind]) > SMALLVAL ) |
|
|
|
{ |
|
|
|
if ( price < (1. / maxprice) ) |
|
|
|
if ( price > (1. / maxprice) ) |
|
|
|
{ |
|
|
|
printf("%s/%s price %.8f more than maxprice %.8f, less than %.8f\n",base,rel,price,maxprice,1./maxprice); |
|
|
|
printf("%s/%s price %.8f less than maxprice %.8f, more than %.8f\n",base,rel,price,maxprice,1./maxprice); |
|
|
|
price = maxprice; |
|
|
|
} |
|
|
|
} |
|
|
|