hats and the 18,480 stage-three hats that were included, along with 384,540 stage-one hats, in AHC’s total smoke-damaged inventory of 490,092 hats and hat bodies. In its role as gatekeeper, the trial court was required to ensure only that Startz’s expert testimony was based on a reliable foundation and was relevant to the inventory damage issue in the case. See Gammill, 972 S.W.2d at 728. The trial court’s role was not to determine whether Startz’s opinion was correct but only whether the analysis used to reach his conclusion was reliable. See id.; see also Zwahr, 88 S.W.3d at 629. For the reasons detailed above, we hold that Startz’s replacement-cost analysis was sufficiently reliable. See Gulley v. State Farm Lloyds, 461 S.W.3d 563, 576 (Tex.App.-San Antonio 2014, pet. denied) (<HOLDING>). We overrule the portions of Wise Electric’s
holding that trial court has wide discretion in determining sufficiency of foundation for opinion testimony holding that testimony of defense expert on false confessions properly excluded as not sufficiently reliable holding opinion testimony of civil engineer expert that movement of foundation was caused by seasonal moisture not plumbing leak was sufficiently reliable holding that differential diagnosis rendered expert opinion on causation sufficiently reliable for admission holding that it was not an abuse of discretion for district court to allow a mechanical engineer to give expert testimony about a machine with which the engineer had no design experience