libantioch / antioch

C++ Chemical Kinetics, Thermodynaimics, and Transport Library
https://libantioch.github.io/
Other
22 stars 17 forks source link

Disambiguate custom_clone overloads #268

Closed roystgnr closed 5 years ago

roystgnr commented 5 years ago

gcc 8 (at least) realized that the supposed-to-be-for-vectors overload actually could be applied to scalar T as well.

roystgnr commented 5 years ago

This was based on a bug report by Lorenzo Campoli, so I'm hoping he'll drop in to confirm or deny that it fixed the problem for him, but since it definitely fixes the bug as it manifested for me I'm going to merge without waiting.