Warn against using float indices (Issue #249)