Commit f96e6058 authored by Paul Schütze's avatar Paul Schütze
Browse files

Levinshtein: throw warning instead of exception in case of "wrong" material

parent 994b24a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -406,7 +406,7 @@ namespace allpix {
                throw ModelUnsuitable("No doping profile available");
            }
            if(material != SensorMaterial::GALLIUM_NITRIDE) {
                throw ModelUnsuitable("Sensor material " + allpix::to_string(material) + " not valid for this model.");
                LOG(WARNING) << "Sensor material " << allpix::to_string(material) << " not valid for this model.";
            }
        }