diff --git a/src/external/MuSRFitGUI/devel/MuSRFit.ui.h b/src/external/MuSRFitGUI/devel/MuSRFit.ui.h index fa28c70f..5bf406ba 100755 --- a/src/external/MuSRFitGUI/devel/MuSRFit.ui.h +++ b/src/external/MuSRFitGUI/devel/MuSRFit.ui.h @@ -817,7 +817,7 @@ void MuSRFitform::AppendToFunctions() my $ConstLine="fun$i = $Constraint\n"; FunctionsBlock->append($ConstLine); -# Replace parameter in theory block with fun$1 +# Replace parameter in theory block with fun$i $Full_T_Block=~ s/$ParName/fun$i/; TheoryBlock->setText($Full_T_Block); }