You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
example: LeveledSHEBFVRNS::EvalMult() in src/pke/lib/scheme/bfvrns/bfvrns-leveledshe.cpp
the return type of GetCryptoParameters() is const std::shared_ptr<CryptoParametersBase>. It is cast to CryptoParametersBFVRNS using std::static_pointer_cast<>
The text was updated successfully, but these errors were encountered:
dsuponitskiy
changed the title
Replace std::static_pointer_cast with std::dynamic_pointer_cast for polymorphic clases
Replace std::static_pointer_cast with std::dynamic_pointer_cast for polymorphic classes
Jul 20, 2022
example: LeveledSHEBFVRNS::EvalMult() in src/pke/lib/scheme/bfvrns/bfvrns-leveledshe.cpp
the return type of GetCryptoParameters() is const std::shared_ptr<CryptoParametersBase>. It is cast to CryptoParametersBFVRNS using std::static_pointer_cast<>
The text was updated successfully, but these errors were encountered: