aboutsummaryrefslogtreecommitdiff
path: root/src/partialator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/partialator.c')
-rw-r--r--src/partialator.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/partialator.c b/src/partialator.c
index 0d532997..bdee29c5 100644
--- a/src/partialator.c
+++ b/src/partialator.c
@@ -219,7 +219,7 @@ int main(int argc, char *argv[])
Stream *st;
Crystal **crystals;
char *pmodel_str = NULL;
- PartialityModel pmodel = PMODEL_SPHERE;
+ PartialityModel pmodel = PMODEL_SCSPHERE;
int min_measurements = 2;
char *rval;
struct srdata srdata;
@@ -342,14 +342,10 @@ int main(int argc, char *argv[])
free(sym_str);
if ( pmodel_str != NULL ) {
- if ( strcmp(pmodel_str, "sphere") == 0 ) {
- pmodel = PMODEL_SPHERE;
- } else if ( strcmp(pmodel_str, "unity") == 0 ) {
+ if ( strcmp(pmodel_str, "unity") == 0 ) {
pmodel = PMODEL_UNITY;
- } else if ( strcmp(pmodel_str, "gaussian") == 0 ) {
- pmodel = PMODEL_GAUSSIAN;
- } else if ( strcmp(pmodel_str, "thin") == 0 ) {
- pmodel = PMODEL_THIN;
+ } else if ( strcmp(pmodel_str, "scgaussian") == 0 ) {
+ pmodel = PMODEL_SCGAUSSIAN;
} else if ( strcmp(pmodel_str, "scsphere") == 0 ) {
pmodel = PMODEL_SCSPHERE;
} else {