Skip to content

Stage block 2D choice #14

Open
Open
@johanneswieland

Description

I know the stage block code is still experimental, but I wanted to flag this issue if it has not come up yet.

The function inputs in line 115 of law_of_motion.py do not correspond to the required inputs for forward_policy_shock_2d. Executing this line throws the error 'ShockedPolicyLottery2D' object has no attribute 'i' since the object only has attributes that look like i1 and i2.

class ShockedPolicyLottery2D(PolicyLottery2D):
def __matmul__(self, X):
if self.forward:
return het_compiled.forward_policy_shock_2d(X.reshape(self.flatshape), self.i, self.pi).reshape(self.shape)
else:
raise NotImplementedError

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions