Skip to content

Commit

Permalink
style: remove unnecessary modifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
tpietzsch committed Mar 25, 2024
1 parent 391e919 commit 1c426b5
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public NLinearInterpolator< T > copy()
return new NLinearInterpolator< T >( this );
}

final private void graycodeFwdRecursive( final int dimension )
private void graycodeFwdRecursive( final int dimension )
{
if ( dimension == 0 )
{
Expand All @@ -232,7 +232,7 @@ final private void graycodeFwdRecursive( final int dimension )
}
}

final private void graycodeBckRecursive( final int dimension )
private void graycodeBckRecursive( final int dimension )
{
if ( dimension == 0 )
{
Expand All @@ -253,7 +253,7 @@ final private void graycodeBckRecursive( final int dimension )
/**
* multiply current target value with current weight and add to accumulator.
*/
final private void accumulate()
private void accumulate()
{
tmp.set( target.get() );
tmp.mul( weights[ code ] );
Expand All @@ -265,14 +265,14 @@ final private void accumulate()
}

@SuppressWarnings( "unused" )
final private void printWeights()
private void printWeights()
{
for ( int i = 0; i < weights.length; ++i )
System.out.printf( "weights [ %2d ] = %f\n", i, weights[ i ] );
}

@SuppressWarnings( "unused" )
final private void printCode()
private void printCode()
{
final int maxbits = 4;
final String binary = Integer.toBinaryString( code );
Expand Down

0 comments on commit 1c426b5

Please sign in to comment.