Skip to content

Commit

Permalink
into fix
Browse files Browse the repository at this point in the history
  • Loading branch information
“NailLegProcessorDivide” committed Jul 22, 2023
1 parent 028602a commit 16f7e59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/src/polycube_reps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ impl<const N: usize> From<&'_ CubeMapPos<N>> for RawPCube {

impl<const N: usize> From<RawPCube> for CubeMapPos<N> {
fn from(value: RawPCube) -> Self {
value.into()
(&value).into()
}
}

impl<const N: usize> From<CubeMapPos<N>> for RawPCube {
fn from(value: CubeMapPos<N>) -> Self {
value.into()
(&value).into()
}
}

Expand Down

0 comments on commit 16f7e59

Please sign in to comment.