Skip to content

Bug Report with LVGate #189

Sep 29, 2021 · 4 comments · 3 replies
Discussion options

You must be logged in to vote

The bug was fixed by modifying the LVGate definition as below:

        ...
        self.sl = Selector(self.u1, self.u2, fun=np.minimum.reduce,
                           info='LVGate Selector',
                           )
        self.y = Algeb(info='LVGate output', tex_name='y', discrete=self.sl)

        self.vars = {'sl': self.sl, 'y': self.y}
        ...

Thanks for Hantao's help!

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@cuihantao
Comment options

@cuihantao
Comment options

Comment options

You must be logged in to vote
1 reply
@jinningwang
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by jinningwang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants