From 382663ff2c783a615e137181a3656851bb1f46c8 Mon Sep 17 00:00:00 2001 From: Claire Mouton Date: Wed, 7 Nov 2012 13:45:32 +0000 Subject: [PATCH] Feature #1742 Modified the output type from double to int. --- packages/std/src/bbstdGetDoubleVectorSize.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.45.0