File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -230,10 +230,12 @@ fn ConstantCoefficient_into_Coefficient(
230230}
231231
232232fn LinearForm_as_Vector ( x : & LinearForm ) -> & Vector {
233+ // LinearForm is a subclass of Vector.
233234 unsafe { std:: mem:: transmute :: < & LinearForm , & Vector > ( x) }
234235}
235236
236237fn LinearForm_as_Vector_mut ( x : Pin < & mut LinearForm > ) -> Pin < & mut Vector > {
238+ // LinearForm is a subclass of Vector.
237239 unsafe { std:: mem:: transmute :: < Pin < & mut LinearForm > , Pin < & mut Vector > > ( x) }
238240}
239241
@@ -249,5 +251,6 @@ fn slice_mut_of_Vector(v: Pin<&mut Vector>) -> &mut [f64] {
249251}
250252
251253fn GSSmoother_as_mut_Solver ( s : Pin < & mut GSSmoother > ) -> Pin < & mut Solver > {
254+ // GSSmoother is a subclass of Solver.
252255 unsafe { std:: mem:: transmute :: < Pin < & mut GSSmoother > , Pin < & mut Solver > > ( s) }
253256}
You can’t perform that action at this time.
0 commit comments