In modern deep-diving marine mammals, such as whales, the outer shell of the bones is porous.
Conclusion
Ichthyosaurs were deep divers
Evidence
Ichthyosaurs had porous outer bones. + Modern deep diving mammals have porous outer bones.
Evaluation
This is an argument by Analogy / Comparison. Since deep-diving mammals and ichthyosaurs have one thing in common (porous outer bones), they probably have another thing in common (deep diving).
We strengthen these types of arguments by adding more similarity between the two cases. We weaken them by pointing out important differences.
Maybe porous bones are different when it comes to modern vs. prehistoric, or mammal vs. reptile. Maybe we'll learn of a different functionality for the porous bones in ichthyosaurs.
Goal
Find an answer that makes it less fair to compare Ichthyosaurs to modern deep-diving mammals, or find an answer that makes it seem like ichthyosaurs had porous bones for a different adaptive reason than deep-diving.