Skip to content

Commit 3f18a98

Browse files
committed
CubicBasis : Expose public numCoefficients() in Python
1 parent e1baaca commit 3f18a98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/IECorePython/CubicBasisBinding.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ void bindCubicBasis( const char *name )
9898
.def_readwrite( "matrix", &T::matrix )
9999
.def_readwrite( "step", &T::step )
100100
.def( "coefficients", &coefficients<T> )
101+
.def( "numCoefficients", &T::numCoefficients )
101102
.def( "derivativeCoefficients", &derivativeCoefficients<T> )
102103
.def( "integralCoefficients", &integralCoefficients<T> )
103104
.def( "__call__", (BaseType (T::*) ( BaseType, BaseType, BaseType, BaseType, BaseType )const)&T::template operator()<BaseType> )

0 commit comments

Comments
 (0)