From: <kin...@us...> - 2011-09-19 03:41:44
|
Revision: 5112 http://teem.svn.sourceforge.net/teem/?rev=5112&view=rev Author: kindlmann Date: 2011-09-19 03:41:38 +0000 (Mon, 19 Sep 2011) Log Message: ----------- double -> float warning Modified Paths: -------------- teem/trunk/src/pull/actionPull.c Modified: teem/trunk/src/pull/actionPull.c =================================================================== --- teem/trunk/src/pull/actionPull.c 2011-09-17 06:03:06 UTC (rev 5111) +++ teem/trunk/src/pull/actionPull.c 2011-09-19 03:41:38 UTC (rev 5112) @@ -530,9 +530,9 @@ point->neighCovar); Css = point->neighCovar[9]; trc = CTRACE(point->neighCovar); - point->stability = (trc - ? (task->pctx->targetDim * Css)/trc - : 0.0f); + point->stability = AIR_CAST(float, (trc + ? (task->pctx->targetDim * Css)/trc + : 0.0)); #if PULL_TANCOVAR /* using 1 + # neigh because this includes tan1 of point itself */ ELL_6V_SCALE(point->neighTanCovar, 1.0f/(1 + point->neighInterNum), This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |