LCOV - code coverage report
Current view: top level - bnmin1/src - paramalgo.cc (source / functions) Hit Total Coverage
Test: casacpp_coverage.info Lines: 0 6 0.0 %
Date: 2024-10-12 00:35:29 Functions: 0 1 0.0 %

          Line data    Source code
       1             : /**
       2             :    
       3             :    Bojan Nikolic <bojan@bnikolic.co.uk>, <b.nikolic@mrao.cam.ac.uk>
       4             : 
       5             :    \file paramalgo.cxx
       6             :    Renamed to paramalgo.cc 2023
       7             :    
       8             : */
       9             : 
      10             : #include "paramalgo.h"
      11             : 
      12             : namespace Minim {
      13             : 
      14           0 :   DParamCtr * findName(std::vector<DParamCtr> & parv,
      15             :                        const std::string & pname)
      16             :   {
      17           0 :     for ( std::vector<DParamCtr>::iterator i ( parv.begin() ) ;
      18           0 :           i < parv.end() ;
      19           0 :           ++i ) 
      20           0 :       if (i->name == pname ) return &(*i);
      21             :     
      22           0 :     return NULL;
      23             :   }
      24             : 
      25             : }
      26             : 

Generated by: LCOV version 1.16