Commit 0e9331b2 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Merge branch 'linear_transient' into 'master'

Allow use of linear electric fields in TransientPropagation

See merge request allpix-squared/allpix-squared!849
parents fcb36a1e eb29f133
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -115,7 +115,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