diff --git a/common/sampling.cpp b/common/sampling.cpp index 07d7153384..90f48c5a05 100644 --- a/common/sampling.cpp +++ b/common/sampling.cpp @@ -564,6 +564,7 @@ char common_sampler_type_to_chr(enum common_sampler_type cnstr) { case COMMON_SAMPLER_TYPE_XTC: return 'x'; case COMMON_SAMPLER_TYPE_INFILL: return 'i'; case COMMON_SAMPLER_TYPE_PENALTIES: return 'e'; + case COMMON_SAMPLER_TYPE_POWER_LAW: return 'w'; default : return '?'; } } @@ -580,6 +581,7 @@ std::string common_sampler_type_to_str(enum common_sampler_type cnstr) { case COMMON_SAMPLER_TYPE_XTC: return "xtc"; case COMMON_SAMPLER_TYPE_INFILL: return "infill"; case COMMON_SAMPLER_TYPE_PENALTIES: return "penalties"; + case COMMON_SAMPLER_TYPE_POWER_LAW: return "power_law"; default : return ""; } }