def test_distributed_adder(self):
        size = 1000000 #how many items in the array

        prob = Problem(impl=impl)
        prob.root = Group()

        prob.root.add('des_vars', IndepVarComp('x', np.ones(size)), promotes=['x'])
        prob.root.add('plus', DistributedAdder(size), promotes=['x', 'y'])
        prob.root.add('summer', Summer(size), promotes=['y', 'sum'])

        prob.setup(check=False)

        prob['x'] = np.ones(size)

        prob.run()

        #expected answer is 11
        assert_rel_error(self, size/prob['sum'], 11.0, 1.e-6)
dataset/ETHPy150Open OpenMDAO/OpenMDAO/mpitest/test_distrib_adder.py/DistributedAdderTest.test_distributed_adder/swapped operands of `/`