MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / Py_ops_setPrecision

Function Py_ops_setPrecision

SRC/interpreter/PythonWrapper.cpp:1567–1577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1565}
1566
1567static PyObject *Py_ops_setPrecision(PyObject *self, PyObject *args)
1568{
1569 wrapper->resetCommandLine(PyTuple_Size(args), 1, args);
1570
1571 if (OPS_setPrecision() < 0) {
1572 opserr<<(void*)0;
1573 return NULL;
1574 }
1575
1576 return wrapper->getResults();
1577}
1578
1579static PyObject *Py_ops_searchPeerNGA(PyObject *self, PyObject *args)
1580{

Callers

nothing calls this directly

Calls 3

OPS_setPrecisionFunction · 0.85
getResultsMethod · 0.80
resetCommandLineMethod · 0.45

Tested by

no test coverage detected