fixed error "matlab style short circuit operator" thrown with single ampersand