Skip to content

Commit

Permalink
Revert "add psi pressure unit"
Browse files Browse the repository at this point in the history
This reverts commit 766226b.
  • Loading branch information
AngeDieu committed Jan 7, 2024
1 parent 0d08ca5 commit 1f6a7f3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions apps/math_toolbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,7 @@ const ToolboxMessageTree unitPressureChildren[] = {
ToolboxMessageTree::Leaf(I18n::Message::UnitPressurePascalSymbol, I18n::Message::UnitPressurePascal),
ToolboxMessageTree::Leaf(I18n::Message::UnitPressurePascalHectoSymbol, I18n::Message::UnitPressurePascalHecto),
ToolboxMessageTree::Leaf(I18n::Message::UnitPressureBarSymbol, I18n::Message::UnitPressureBar),
ToolboxMessageTree::Leaf(I18n::Message::UnitPressureAtmSymbol, I18n::Message::UnitPressureAtm),
ToolboxMessageTree::Leaf(I18n::Message::UnitPressurePsiSymbol, I18n::Message::UnitPressurePsi)};

ToolboxMessageTree::Leaf(I18n::Message::UnitPressureAtmSymbol, I18n::Message::UnitPressureAtm)};

const ToolboxMessageTree unitEnergyJouleChildren[] = {
ToolboxMessageTree::Leaf(I18n::Message::UnitEnergyJouleMilliSymbol, I18n::Message::UnitEnergyJouleMilli),
Expand Down
1 change: 0 additions & 1 deletion poincare/include/poincare/unit.h
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,6 @@ class Unit : public Expression {
PressureRepresentative("Pa", 1., Prefixable::All, Prefixable::LongScale),
PressureRepresentative("bar", 100000, Prefixable::All, Prefixable::LongScale),
PressureRepresentative("atm", 101325, Prefixable::None, Prefixable::None),
PressureRepresentative("psi", 6894.7572932, Prefixable::None, Prefixable::None),
};
typedef UnitNode::EnergyRepresentative EnergyRepresentative;
static constexpr const EnergyRepresentative k_energyRepresentatives[] = {
Expand Down

0 comments on commit 1f6a7f3

Please sign in to comment.