LCOV - code coverage report
Current view: top level - bnmin1/src - minimio.cc (source / functions) Hit Total Coverage
Test: casacpp_coverage.info Lines: 0 2 0.0 %
Date: 2024-11-06 17:42:47 Functions: 0 1 0.0 %

          Line data    Source code
       1             : /**
       2             :    Bojan Nikolic <bojan@bnikolic.co.uk> 
       3             :    Initial version 2003
       4             : 
       5             :    This file is part of BNMin1 and is licensed under GNU General
       6             :    Public License version 2
       7             : 
       8             :    \file minimio.cxx
       9             :    Renamed to minimio.cc 2023
      10             :    
      11             : */
      12             : 
      13             : #include "minimio.h"
      14             : 
      15             : #include "paramctr.h"
      16             : #include "minim.h"
      17             : 
      18             : #include <iostream>
      19             : 
      20             : namespace Minim {
      21             : 
      22             :   
      23             :   /*! This is the crazy way to do this from previous version of
      24             :    *  software */
      25             :   template <class T>    inline 
      26             :   std::ostream & operator<< ( std::ostream & o , ParamCtr<T> const &p ) 
      27             :   {
      28             :     o<<p.name<<"=\t"<<*p.p<<"\t";
      29             :     
      30             :     if (p.dofit)
      31             :       {
      32             :         o<<"(fitting)     ";
      33             :       }
      34             :     else
      35             :       { 
      36             :         o<<"(not fitting) ";
      37             :       }
      38             :     
      39             :     o<<"\\\\ "<<p.comment<<std::endl; 
      40             :     return o;
      41             :   }
      42             : 
      43           0 :   void PrettyPrint( ModelDesc & /*mod*/)
      44             :   {
      45             : 
      46             :     //for_each(mod.pars.begin() , mod.pars.end() , std::cout <<_1 );
      47             :     
      48           0 :   }
      49             : 
      50             : }
      51             : 
      52             : 

Generated by: LCOV version 1.16