Commit 1c09523d authored by Håkan Wennlöf's avatar Håkan Wennlöf
Browse files

Merge branch 'b-transient' into 'v2.3-stable'

[v2.3-stable] Allow use of linear electric fields in TransientPropagation

See merge request allpix-squared/allpix-squared!857
parents 4633d5a2 15ac2c78
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@ void TransientPropagationModule::initialize() {
    }

    if(detector_->getElectricFieldType() == FieldType::LINEAR) {
        throw ModuleError("This module cannot be used with linear electric fields.");
        LOG(ERROR) << "This module will likely produce unphysical results when applying linear electric fields.";
    }

    // Prepare mobility model