Skip to content

Commit e1b2e73

Browse files
Update probability/exponential_dist.cpp
Co-authored-by: realstealthninja <[email protected]>
1 parent 3b7a06b commit e1b2e73

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

probability/exponential_dist.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ double exponential_std(double lambda){
5151
return 1/lambda;
5252
}
5353

54+
/**
55+
* @brief Self-test implementation
56+
* @returns void
57+
*/
5458
static void test(){
5559
double lambda = 2;
5660
double expected = 0.5;

0 commit comments

Comments
 (0)