f1ea8f755420b832639e57b2fe256398cfc9dfbd,scipy/signal/ltisys.py,lti,gain,#lti#Any#,390

Before Change



    @gain.setter
    def gain(self, value):
        self._gain = value
        self._update(3)

    @property
    def A(self):
        return self._A

After Change


        return self.zpk().gain

    @gain.setter
    def gain(self, gain):
        obj = self.zpk()
        obj.gain = gain
        source_class = type(self)
        self.copy(source_class(obj), copy=False)

    @property
    def A(self):
        return self.ss().A
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 11

Instances


Project Name: scipy/scipy
Commit Name: f1ea8f755420b832639e57b2fe256398cfc9dfbd
Time: 2015-05-06
Author: befelix@ethz.ch
File Name: scipy/signal/ltisys.py
Class Name: lti
Method Name: gain


Project Name: scipy/scipy
Commit Name: f1ea8f755420b832639e57b2fe256398cfc9dfbd
Time: 2015-05-06
Author: befelix@ethz.ch
File Name: scipy/signal/ltisys.py
Class Name: lti
Method Name: poles


Project Name: scipy/scipy
Commit Name: f1ea8f755420b832639e57b2fe256398cfc9dfbd
Time: 2015-05-06
Author: befelix@ethz.ch
File Name: scipy/signal/ltisys.py
Class Name: lti
Method Name: gain


Project Name: scipy/scipy
Commit Name: f1ea8f755420b832639e57b2fe256398cfc9dfbd
Time: 2015-05-06
Author: befelix@ethz.ch
File Name: scipy/signal/ltisys.py
Class Name: lti
Method Name: zeros