Fixing output types from tap_type to o_type in gr_single_pole_iir.h. Doesn't make...
[debian/gnuradio] / gnuradio-core / src / lib / filter / gr_interp_fir_filter_XXX.cc.t
index ff3642949d37d398f725905219ca434670bdb206..b90450c65981c36e26d580a88a5cd17054cc2444 100644 (file)
@@ -1,12 +1,12 @@
 /* -*- c++ -*- */
 /*
- * Copyright 2004 Free Software Foundation, Inc.
+ * Copyright 2004,2010 Free Software Foundation, Inc.
  * 
  * This file is part of GNU Radio
  * 
  * GNU Radio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
+ * the Free Software Foundation; either version 3, or (at your option)
  * any later version.
  * 
  * GNU Radio is distributed in the hope that it will be useful,
@@ -38,7 +38,7 @@
 
 @SPTR_NAME@ gr_make_@BASE_NAME@ (unsigned interpolation, const std::vector<@TAP_TYPE@> &taps)
 {
-  return @SPTR_NAME@ (new @NAME@ (interpolation, taps));
+  return gnuradio::get_initial_sptr (new @NAME@ (interpolation, taps));
 }