diff --git a/dist/cs2solutions-0.2.6-py3-none-any.whl b/dist/cs2solutions-0.2.6-py3-none-any.whl new file mode 100644 index 0000000..9d708db Binary files /dev/null and b/dist/cs2solutions-0.2.6-py3-none-any.whl differ diff --git a/dist/cs2solutions-0.2.6.tar.gz b/dist/cs2solutions-0.2.6.tar.gz new file mode 100644 index 0000000..84e824e Binary files /dev/null and b/dist/cs2solutions-0.2.6.tar.gz differ diff --git a/pyproject.toml b/pyproject.toml index 164e2fd..835e755 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ packages = ["src/solutions"] [project] name = "cs2solutions" -version = "0.2.5" +version = "0.2.6" dependencies =[ "control", "matplotlib", diff --git a/src/cs2solutions.egg-info/PKG-INFO b/src/cs2solutions.egg-info/PKG-INFO index 4ffcaf2..c1a1d66 100644 --- a/src/cs2solutions.egg-info/PKG-INFO +++ b/src/cs2solutions.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: cs2solutions -Version: 0.2.5 +Version: 0.2.6 Summary: A package containing solutions for the CS2 lecture at ETH Zürich Author-email: Kalle Laitinen , Dejan Milojevic , Niclas Scheuer Maintainer-email: Kalle Laitinen , Niclas Scheuer diff --git a/src/cs2solutions/aircraft.py b/src/cs2solutions/aircraft.py index 8cdaa75..0af04c7 100644 --- a/src/cs2solutions/aircraft.py +++ b/src/cs2solutions/aircraft.py @@ -65,7 +65,7 @@ def test_aircraft_state_space(student_sol: callable, actual_sol: callable, shoul sol_model = actual_sol() # Check if the student's state space model is an instance of the StateSpace class - assert isinstance(student_model, type(None)), f"Please make sure to return a StateSpace object. Got {type(student_model)} instead." + assert not isinstance(student_model, type(None)), f"Please make sure to return a StateSpace object. Got {type(student_model)} instead." assert isinstance(student_model, ct.StateSpace), f"Expected a StateSpace object, but got {type(student_model)}" # Check if the student's state space model is equal to the solution state space model