def getBinIndices(self, linear_index):
        """Given a linear index (integer between 0 and outdim), returns the bin
        indices for each of the state dimensions.

        """
        return linear_index / self.nbins_across_dims % self.magic_array
dataset/ETHPy150Open chrisdembia/agent-bicycle/randlov1998/tasks.py/LinearFATileCoding3476GoToTask.getBinIndices/swapped operands of `%`