fix the errorsign bug, when there is no normal log
This commit is contained in:
parent
be3ebec109
commit
3f53b26679
@ -182,11 +182,14 @@ calibMuso <- function(settings,parameters=NULL, timee="d", debugging=FALSE, logf
|
|||||||
if(length(perror)>sum(perror)){
|
if(length(perror)>sum(perror)){
|
||||||
errorsign <- 1
|
errorsign <- 1
|
||||||
} else {
|
} else {
|
||||||
if(spincrash){
|
if(length(perror)==1){
|
||||||
errorsign <- 1
|
errorsign <- 1
|
||||||
} else {
|
} else {
|
||||||
errorsign <- 0
|
if(spincrash){
|
||||||
}
|
errorsign <- 1
|
||||||
|
} else {
|
||||||
|
errorsign <- 0
|
||||||
|
} }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user