Skip to content

Commit b624d89

Browse files
committed
Merge pull request #2 from mewpull/master
Sorry for letting you hang that long. Thanks for the fix.
2 parents f8747f7 + b70ad85 commit b624d89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

koans/koan01_number_types.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void Koan01_number_types::simple_floats()
5454

5555
void Koan01_number_types::floats_have_a_size()
5656
{
57-
int a_float = 4.2;
57+
float a_float = 4.2;
5858
ASSERT_EQUAL( sizeof( float ), FILL_THE_NUMBER_IN );
5959
ASSERT_EQUAL( sizeof( a_float ), FILL_THE_NUMBER_IN );
6060
}

0 commit comments

Comments
 (0)