Skip to content

Fix arithmetic between double and enum

Simon Praetorius requested to merge issue/arithmetic-double-enum into master

Summary

Arithmetic between floating-point types and enumeration types is deprecated in c++20. This MR adds an explicit cast of the enum to int.

Merge request reports