diff options
Diffstat (limited to 'misc/examples')
| -rw-r--r-- | misc/examples/list.c | 5 | ||||
| -rw-r--r-- | misc/examples/multimap.c | 1 |
2 files changed, 2 insertions, 4 deletions
diff --git a/misc/examples/list.c b/misc/examples/list.c index c12d67e9..027c5adc 100644 --- a/misc/examples/list.c +++ b/misc/examples/list.c @@ -5,15 +5,14 @@ #define i_val double #define i_tag fx -#define i_extern // include sort function #include <stc/clist.h> int main() { - const int n = 1000000; + const int n = 3000000; c_auto (clist_fx, list) { - stc64_t rng = stc64_new(1234); + stc64_t rng = stc64_new(1234567); stc64_uniformf_t dist = stc64_uniformf_new(100.0f, n); int m = 0; c_forrange (n) diff --git a/misc/examples/multimap.c b/misc/examples/multimap.c index 1d5d259d..1b72fb67 100644 --- a/misc/examples/multimap.c +++ b/misc/examples/multimap.c @@ -41,7 +41,6 @@ void OlympicLoc_drop(OlympicLoc* self); // Create a clist<OlympicLoc>, can be sorted by year. #define i_valclass OlympicLoc // binds _cmp, _clone and _drop. #define i_tag OL -#define i_extern // define _clist_mergesort() #include <stc/clist.h> // Create a csmap<cstr, clist_OL> where key is country name |
