Stores the first order derivatives in the TEFD matrix, when derivatives are computed with a different external function (useful only for printing the model equations)
parent
1428fcb9f8
commit
c6febbccb1
|
@ -4686,6 +4686,8 @@ FirstDerivExternalFunctionNode::compileExternalFunctionOutput(ostream &CompileCo
|
||||||
FCALL_ fcall(nb_output_arguments, nb_add_input_arguments, datatree.symbol_table.getName(first_deriv_symb_id), indx);
|
FCALL_ fcall(nb_output_arguments, nb_add_input_arguments, datatree.symbol_table.getName(first_deriv_symb_id), indx);
|
||||||
fcall.set_function_type(ExternalFunctionFirstDerivative);
|
fcall.set_function_type(ExternalFunctionFirstDerivative);
|
||||||
fcall.write(CompileCode, instruction_number);
|
fcall.write(CompileCode, instruction_number);
|
||||||
|
FSTPTEFD_ fstptefd(indx, inputIndex);
|
||||||
|
fstptefd.write(CompileCode, instruction_number);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue