Changeset 2467


Ignore:
Timestamp:
Feb 22, 2013, 2:19:19 PM (6 years ago)
Author:
sam
Message:

lolremez: minor refactor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/math/remez.cpp

    r2297 r2467  
    22// Lol Engine - Sample math program: Chebyshev polynomials
    33//
    4 // Copyright: (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
     4// Copyright: (c) 2005-2013 Sam Hocevar <sam@hocevar.net>
    55//   This program is free software; you can redistribute it and/or
    66//   modify it under the terms of the Do What The Fuck You Want To
     
    1515#include "core.h"
    1616
    17 #include "lol/math/real.h"
    18 #include "lol/math/remez.h"
     17#include <lol/math/real.h>
     18#include <lol/math/remez.h>
    1919
    2020using lol::real;
     
    2222
    2323/* See the tutorial at http://lol.zoy.org/wiki/doc/maths/remez */
    24 real f(real const &x) { return exp(x); }
    25 real g(real const &x) { return exp(x); }
     24real f(real const &x)
     25{
     26    return exp(x);
     27}
     28
     29real g(real const &x)
     30{
     31    return exp(x);
     32}
    2633
    2734int main(int argc, char **argv)
Note: See TracChangeset for help on using the changeset viewer.