Two definitions of fractional dimension