Skip to content

Fix ss2tf in case state space matrices are made of int values.#273

Merged
murrayrm merged 2 commits into
python-control:masterfrom
don4get:fix/ss2tf-python27
Apr 7, 2019
Merged

Fix ss2tf in case state space matrices are made of int values.#273
murrayrm merged 2 commits into
python-control:masterfrom
don4get:fix/ss2tf-python27

Conversation

@don4get

@don4get don4get commented Jan 8, 2019

Copy link
Copy Markdown
Contributor

PR to fix issue #272

The problem comes from the fact that in python2, division between ints returns an int... Which is not the case in Python 3.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.8%) to 77.609% when pulling 537ee0c on don4get:fix/ss2tf-python27 into 31e6944 on python-control:master.

1 similar comment
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.8%) to 77.609% when pulling 537ee0c on don4get:fix/ss2tf-python27 into 31e6944 on python-control:master.

@coveralls

coveralls commented Jan 8, 2019

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 78.383% when pulling a4e4786 on don4get:fix/ss2tf-python27 into 31e6944 on python-control:master.

@don4get don4get changed the title [WIP] [xferfcn_test] Add unit test for ss2tf Fix ss2tf in case state space matrices are made of int values. Jan 8, 2019
@don4get don4get force-pushed the fix/ss2tf-python27 branch from e635779 to a4e4786 Compare January 8, 2019 21:06
@murrayrm

murrayrm commented Apr 7, 2019

Copy link
Copy Markdown
Member

Fix looks good. Scheduling for release with 0.8.2.

@murrayrm murrayrm added this to the 0.8.2 milestone Apr 7, 2019
@murrayrm murrayrm merged commit b246884 into python-control:master Apr 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants