IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40740


Ignore:
Timestamp:
May 14, 2019, 4:04:46 PM (7 years ago)
Author:
eugene
Message:

fix build problem with fitobj

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20190329/src/opihi/mana/deimos_fitobj.c

    r40658 r40740  
    5454  float stilt = 0.0; // angle of the slit
    5555  ohana_gaussdev_init ();
     56
     57  fprintf (stderr, "use deimos fitalt instead\n");
     58  return FALSE;
    5659
    5760  // a crude noise model valid for both the guess vectors and the
     
    293296      opihi_flt *skytest = deimos_make_test (skyVal, NULL, row, Nrow, TRUE);
    294297      opihi_flt *bcktest = deimos_make_test (bckVal, NULL, row, Nrow, TRUE);
    295 
     298     
    296299      // generate the model based on the test values
    297300      // objtest, skytest, bcktest are segments of the full parameter vectors
    298       float *model = deimos_make_model (objtest, skytest, bcktest, psf, profile, trace, Nx, Nrow, row);
     301      float *model = deimos_make_model (objtest, skytest, bcktest, psf, profile, trace, NULL, Nx, Nrow, row);
    299302     
    300303      // calculate the current chisq
     
    333336      // generate the model based on the test values
    334337      // objtest, skytest, bcktest are segments of the full parameter vectors
    335       float *model = deimos_make_model (objtest, skytest, bcktest, psf, profile, trace, Nx, Nrow, row);
     338      float *model = deimos_make_model (objtest, skytest, bcktest, psf, profile, trace, NULL, Nx, Nrow, row);
    336339     
    337340      // calculate the current chisq
     
    385388
    386389        // generate the model based on the test values
    387         float *model = deimos_make_model (objtest, skytest, bcktest, psf, profile, trace, Nx, Nrow, row);
     390        float *model = deimos_make_model (objtest, skytest, bcktest, psf, profile, trace, NULL, Nx, Nrow, row);
    388391     
    389392        // calculate the current chisq
Note: See TracChangeset for help on using the changeset viewer.