Skip to content

Commit 25dd347

Browse files
authored
Fix Typos in pub_stats.hpp and prng.h (#423)
* fix typos pub_stats.hpp * typo fix prng.h
1 parent f862571 commit 25dd347

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: pc/pub_stats.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace pc
1212

1313
pub_stats();
1414

15-
// number of prices submited
15+
// number of prices submitted
1616
uint64_t get_num_sent() const;
1717

1818
// number of observed aggregate slot updates

Diff for: program/c/src/oracle/util/prng.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ static inline double prng_double_o ( prng_t * prng ) { return prng_uint64_to_dou
307307
308308
Rejection method based. Specifically, the number of prng slots
309309
consumed is typically 1 but theoretically might be higher
310-
occassionally (64-bit wide types consume prng slots twice as fast).
310+
occasionally (64-bit wide types consume prng slots twice as fast).
311311
312312
Deterministic prng slot consumption possible with a slightly more
313313
approximate implementation (bound the number of iterations such that

0 commit comments

Comments
 (0)