Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plural fix for accelerations #434

Merged
merged 3 commits into from
May 8, 2018

Conversation

tmilnthorp
Copy link
Collaborator

No description provided.

Copy link
Owner

@angularsen angularsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Address the singular name and regenerate the code, and this should be good to go.

"XmlDoc": "Acceleration, in physics, is the rate at which the velocity of an object changes over time. An object's acceleration is the net result of any and all forces acting on the object, as described by Newton's Second Law. The SI unit for acceleration is the Meter per second squared (m/s²). Accelerations are vector quantities (they have magnitude and direction) and add according to the parallelogram law. As a vector, the calculated net force is equal to the product of the object's mass (a scalar quantity) and the acceleration.",
"Units": [
{
"SingularName": "MeterPerSecondSquared",
"PluralName": "MeterPerSecondSquared",
"SingularName": "MetersPerSecondSquared",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Singular name should stay MeterPerSecondSquared.


protected override double KnotsPerHourInOneMeterPerSecondSquared => 6.99784017278618E3;
protected override double KnotsPerHourInOneMetersPerSecondSquared => 6.99784017278618E3;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See below, singular name is used here so due to wrong singular name in JSON below it reads InOneMeters here.

@tmilnthorp
Copy link
Collaborator Author

A bit fat-fingered with find replace :) fixed

@angularsen angularsen merged commit f54e381 into angularsen:master May 8, 2018
@angularsen
Copy link
Owner

Looks good ! :-)

@tmilnthorp tmilnthorp mentioned this pull request Jun 20, 2018
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants