jaijeet / VAPP

The Berkeley Verilog-A Parser and Processor
https://github.com/jaijeet/VAPP/wiki
Other
12 stars 8 forks source link

VAPP-generated fqeiJ executes derivative code even when not required (ie, only f/q needed), breaking parameter derivative calculation using vecvalder #5

Open jaijeet opened 7 years ago

jaijeet commented 7 years ago

VAPP code should pass a flag to fqeiJ that skips derivative generation when not required.

Otherwise, when we call dfq_dp_DAEAPI_auto, we get errors like:

Error in fe_from_fqeiJ_ModSpec (line 5) [fqei_out, J_out] = feval(MOD.fqeiJ, varargin{1:(end-1)}, flag, MOD); -=====

This is with the VAPP-generated mvs_si_1_1_0.m