* src/misc/random.hh: Add include guard.
This commit is contained in:
parent
541705a36a
commit
7917841fbe
2 changed files with 10 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
2004-12-08 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
||||||
|
|
||||||
|
* src/misc/random.hh: Add include guard.
|
||||||
|
|
||||||
2004-12-07 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
2004-12-07 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
||||||
|
|
||||||
* src/misc/random.hh (nrand, bmrand, prand): New functions.
|
* src/misc/random.hh (nrand, bmrand, prand): New functions.
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,9 @@
|
||||||
// Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
// Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
// 02111-1307, USA.
|
// 02111-1307, USA.
|
||||||
|
|
||||||
|
#ifndef SPOT_MISC_RANDOM_HH
|
||||||
|
# define SPOT_MISC_RANDOM_HH
|
||||||
|
|
||||||
# include <cmath>
|
# include <cmath>
|
||||||
|
|
||||||
namespace spot
|
namespace spot
|
||||||
|
|
@ -114,3 +117,5 @@ namespace spot
|
||||||
int prand(double p);
|
int prand(double p);
|
||||||
/// @}
|
/// @}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // SPOT_MISC_RANDOM_HH
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue