[go: up one dir, main page]

File: printimpl.cpp

package info (click to toggle)
iminuit 2.30.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,660 kB
  • sloc: cpp: 14,591; python: 11,177; makefile: 11; sh: 5
file content (10 lines) | stat: -rw-r--r-- 286 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#include "Minuit2/MnPrint.h"
#include "pybind11.hpp"

using ROOT::Minuit2::MnPrint;

void MnPrint::Impl(MnPrint::Verbosity level, const std::string& s) {
  const char* label[4] = {"E", "W", "I", "D"};
  const int ilevel = static_cast<int>(level);
  pybind11::print(label[ilevel], s);
}