diff --git a/Cargo.toml b/Cargo.toml index 210b0c4..72ca22d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "euclid" -version = "0.10.3" +version = "0.10.4" authors = ["The Servo Project Developers"] description = "Geometry primitives" documentation = "http://doc.servo.org/euclid/" diff --git a/src/size.rs b/src/size.rs index 2f8979b..ff0301c 100644 --- a/src/size.rs +++ b/src/size.rs @@ -75,7 +75,7 @@ impl TypedSize2D { /// /// This behavior is preserved for negative values (unlike the basic cast). pub fn ceil(&self) -> Self { - TypedSize2D::new(self.height.ceil(), self.width.ceil()) + TypedSize2D::new(self.width.ceil(), self.height.ceil()) } }