~ubuntu-branches/ubuntu/vivid/openwalnut/vivid

« back to all changes in this revision

Viewing changes to src/core/dataHandler/test/WThreadedTrackingFunction_test.h

  • Committer: Package Import Robot
  • Author(s): Sebastian Eichelbaum
  • Date: 2014-03-19 17:46:12 UTC
  • mfrom: (3.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140319174612-e4mgtr1avbq3f7ph
Tags: 1.4.0~rc1+hg3a3147463ee2-1
* Major functionality and stability improvements.
* Several bug fixes
* Changed ttf-liberation dependency to fonts-liberation (Closes: #722405)
* OpenWalnut now works properly with OpenSceneGraph 3.2 (Closes: #718381)
* See http://www.openwalnut.org/versions/2

Show diffs side-by-side

added added

removed removed

Lines of Context:
237
237
 
238
238
        data = normalize( data );
239
239
 
240
 
        boost::shared_ptr< std::vector< double > > v = boost::shared_ptr< std::vector< double > >( new  std::vector< double > ( 5 * 5 * 5 * 3 ) );
 
240
        boost::shared_ptr< std::vector< double > > v( new  std::vector< double > ( 5 * 5 * 5 * 3 ) );
241
241
        for( std::size_t k = 0; k < 5 * 5 * 5; ++k )
242
242
        {
243
243
            v->at( 3 * k + 0 ) = data[ 0 ];
602
602
 
603
603
        data = normalize( data );
604
604
 
605
 
        boost::shared_ptr< std::vector< double > > v = boost::shared_ptr< std::vector< double > >( new  std::vector< double >( n * n * n * 3 ) );
 
605
        boost::shared_ptr< std::vector< double > > v( new  std::vector< double >( n * n * n * 3 ) );
606
606
        for( std::size_t k = 0; k < static_cast< std::size_t >( n * n * n ); ++k )
607
607
        {
608
608
            v->at( 3 * k + 0 ) = data[ 0 ];