~ubuntu-branches/ubuntu/trusty/etl/trusty-proposed

« back to all changes in this revision

Viewing changes to test/spline.cpp

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2012-05-12 16:24:53 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20120512162453-gho4kely37m2t4xr
Tags: 0.04.15-1
* New maintainers (Closes: #665041)
* New upstream release.
* imported latest QA changes
* Packaging update
  + to straight debhelper + dh-autoreconf
  + compat & debhelper to version 9
  + corrected Vcs-Browser URL
  + allow dh_auto_test failure (fixes FTBFS)
  + Maintainer set to d-multimedia

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
** $Id$
5
5
**
6
6
** Copyright (c) 2002 Robert B. Quattlebaum Jr.
 
7
** Copyright (c) 2010 Nikita Kitaev
7
8
**
8
9
** This package is free software; you can redistribute it and/or
9
10
** modify it under the terms of the GNU General Public License as
45
46
        etl::clock timer;
46
47
        double t;
47
48
 
48
 
        *BSpline.cpoints().insert(BSpline.cpoints().end())=0;
49
 
        *BSpline.cpoints().insert(BSpline.cpoints().end())=-1;
50
 
        *BSpline.cpoints().insert(BSpline.cpoints().end())=0;
51
 
        *BSpline.cpoints().insert(BSpline.cpoints().end())=1;
52
 
        *BSpline.cpoints().insert(BSpline.cpoints().end())=0;
 
49
        BSpline.cpoints().insert(BSpline.cpoints().end(), 0.0);
 
50
        BSpline.cpoints().insert(BSpline.cpoints().end(), -1.0);
 
51
        BSpline.cpoints().insert(BSpline.cpoints().end(), 0.0);
 
52
        BSpline.cpoints().insert(BSpline.cpoints().end(), 1.0);
 
53
        BSpline.cpoints().insert(BSpline.cpoints().end(), 0.0);
53
54
 
54
55
        BSpline.set_m(4);
55
56
        BSpline.reset_knots();