Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
7917841f
Commit
7917841f
authored
Dec 08, 2004
by
Alexandre Duret-Lutz
Browse files
* src/misc/random.hh: Add include guard.
parent
541705a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
7917841f
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>
* src/misc/random.hh (nrand, bmrand, prand): New functions.
...
...
src/misc/random.hh
View file @
7917841f
...
...
@@ -19,7 +19,10 @@
// Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
#include
<cmath>
#ifndef SPOT_MISC_RANDOM_HH
# define SPOT_MISC_RANDOM_HH
# include <cmath>
namespace
spot
{
...
...
@@ -114,3 +117,5 @@ namespace spot
int
prand
(
double
p
);
/// @}
}
#endif // SPOT_MISC_RANDOM_HH
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment