MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / setAmount

Method setAmount

src/openms/source/DATASTRUCTURES/Adduct.cpp:102–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100 }
101
102 void Adduct::setAmount(const Int& amount)
103 {
104 if (amount < 0)
105 {
106 std::cerr << "Warning: Adduct received negative amount! (" << amount << ")\n";
107 }
108 amount_ = amount;
109 }
110
111 const double& Adduct::getSingleMass() const
112 {

Callers 2

computeMethod · 0.80
Adduct_test.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected