From: Claire Mouton Date: Wed, 7 Nov 2012 13:45:32 +0000 (+0000) Subject: Feature #1742 Modified the output type from double to int. X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=382663ff2c783a615e137181a3656851bb1f46c8;p=bbtk.git Feature #1742 Modified the output type from double to int. --- diff --git a/packages/std/src/bbstdGetDoubleVectorSize.h b/packages/std/src/bbstdGetDoubleVectorSize.h index c3653ff..24536fd 100644 --- a/packages/std/src/bbstdGetDoubleVectorSize.h +++ b/packages/std/src/bbstdGetDoubleVectorSize.h @@ -13,7 +13,7 @@ class bbstd_EXPORT GetDoubleVectorSize { BBTK_BLACK_BOX_INTERFACE(GetDoubleVectorSize,bbtk::AtomicBlackBox); BBTK_DECLARE_INPUT(In,std::vector); - BBTK_DECLARE_OUTPUT(VectorSize, double); + BBTK_DECLARE_OUTPUT(VectorSize, int); BBTK_PROCESS(Process); void Process(); }; @@ -24,7 +24,7 @@ BBTK_AUTHOR("Claire Mouton"); BBTK_DESCRIPTION("Retrieves the size of a vector of double."); BBTK_CATEGORY("std"); BBTK_INPUT(GetDoubleVectorSize,In,"Input vector.",std::vector,""); -BBTK_OUTPUT(GetDoubleVectorSize,VectorSize,"The vector size.",double,""); +BBTK_OUTPUT(GetDoubleVectorSize,VectorSize,"The vector size.",int,""); BBTK_END_DESCRIBE_BLACK_BOX(GetDoubleVectorSize); } // EO namespace bbstd