Changeset 1486 in Sophya for trunk/SophyaPI/PIext


Ignore:
Timestamp:
Apr 30, 2001, 7:12:17 PM (24 years ago)
Author:
cmv
Message:

gestion correct arg expcut dans exptovec cmv 30/4/01

Location:
trunk/SophyaPI/PIext
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/pawexecut.cc

    r1268 r1486  
    5555usage += "\n n/proj nameproj nameobj.y_exp%x_exp [cut] [w_exp] [loop] [gratt]";
    5656usage += "\n        for default use ! , loop=i1[:i2[:di]]";
    57 usage += "\n  Related commands: projh1d projh2d projprof"; 
     57usage += "\n  Related commands: projh1d projh2d projprof exptovec"; 
    5858piac->RegisterCommand(kw,usage,this,hgrp);
    5959
  • trunk/SophyaPI/PIext/servnobjm.cc

    r1469 r1486  
    725725 
    726726string expwt = "1.";
    727 string expz = "0.";   
    728 ComputeExpressions(obja, expx, expz, expz, expwt, expcut, loop, nt, NULL, NULL);
     727string expz = "0.";
     728string dumexpcut = expcut; if(dumexpcut.size()<=0) dumexpcut = "1.";
     729ComputeExpressions(obja,expx,expz,expz,expwt,dumexpcut,loop,nt,NULL,NULL);
    729730
    730731if (!nt) return;
Note: See TracChangeset for help on using the changeset viewer.