NeoPZ
error.h
Go to the documentation of this file.
1 // Emacs will be in -*- Mode: c++ -*-
2 //
3 // ***************** DO NOT REMOVE THIS BANNER *****************
4 //
5 // SUMMARY: Tools for Automatic Differentiaton (order 1)
6 // RELEASE: 0.1
7 // USAGE : You may copy freely these files and use it for
8 // teaching or research. These or part of these may
9 // not be sold or used for a commercial purpose with-
10 // out our consent : fax (33)1 44 27 72 00
11 //
12 // AUTHOR : Nicolas Di cesare
13 // ORG :
14 // E-MAIL : Nicolas.Dicesare@ann.jussieu.fr
15 //
16 // ORIG-DATE: September 97
17 // LAST-MOD : 20/12/97
18 // ************************************************************
19 #ifndef _error_h
20 #define _error_h
21 
22 #include <cstdlib>
23 #include <iostream>
24 #include <string>
25 
26 //using namespace std;
27 
28 inline void error(const std::string &msg)
29 {
30  if(msg.size()) std::cout << msg.c_str() << std::endl;
31 }
32 
33 
34 #endif
void error(const std::string &msg)
Definition: error.h:28