From 38465b540c81c2e43e4fc0287f6c9cf60e6c6577 Mon Sep 17 00:00:00 2001 From: halw Date: Thu, 4 Mar 2010 20:56:32 +0000 Subject: [PATCH] Used "make_filled" versus "make". Author:halw Date:2010-03-04T20:56:32.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@503 abb3cda0-5349-4a8f-a601-0c33ac3a8c38 --- .../current/examples/example-sieve-eratosthenes.wiki | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/documentation/current/examples/example-sieve-eratosthenes.wiki b/documentation/current/examples/example-sieve-eratosthenes.wiki index ee2468df..10a9a091 100644 --- a/documentation/current/examples/example-sieve-eratosthenes.wiki +++ b/documentation/current/examples/example-sieve-eratosthenes.wiki @@ -39,15 +39,15 @@ feature l_tab: ARRAY [BOOLEAN] do create Result.make - create l_tab.make (2, a_limit) + create l_tab.make_filled (True, 2, a_limit) across l_tab as ic loop - if not ic.item then + if ic.item then Result.extend (ic.target_index) across ((ic.target_index + ic.target_index) |..| l_tab.upper).new_cursor.with_step (ic.target_index) as id loop - l_tab [id.item] := True + l_tab [id.item] := False end end end