Skip to content

Commit 35f1d6a

Browse files
committed
COMP: Do not wrap MersenneTwisterRandomVariateGenerator::Initialize
Deprecated. For: D:\a\1\s-build\Wrapping\Modules\ITKCommon\ITKCommonBasePython.cpp(35589): warning C4996: 'itk::Statistics::MersenneTwisterRandomVariateGenerator::Initialize': ITK 6 discourages using this member function. Please use `SetSeed` instead!
1 parent e673208 commit 35f1d6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/Core/Common/include/itkMersenneTwisterRandomVariateGenerator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ class ITKCommon_EXPORT MersenneTwisterRandomVariateGenerator : public RandomVari
175175
/** Length of state vector */
176176
static constexpr IntegerType StateVectorLength = 624;
177177

178-
#ifndef ITK_FUTURE_LEGACY_REMOVE
178+
#if !defined(ITK_FUTURE_LEGACY_REMOVE) && !defined(ITK_WRAPPING_PARSER)
179179
/** Sets the seed and initializes the internal state of this generator.
180180
* \deprecated ITK 6 discourages using this member function. Please use `SetSeed` instead!
181181
*/

0 commit comments

Comments
 (0)