Skip to content

Commit

Permalink
Fix: fix @value problems
Browse files Browse the repository at this point in the history
  • Loading branch information
pictavien committed Feb 12, 2020
1 parent 1f03847 commit 344fba0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
public class TikzTopologySerializer implements TopologySerializer {

/**
* The default End-Of-Line delimiter ({\value{DEFAULT_EOL}}.
* The default End-Of-Line delimiter.
*/
public static final String DEFAULT_EOL = "\n";

/**
* The default scale factor that must be applied to the distance between nodes ({\value{DEFAULT_SCALE_FACTOR}}.
* The default scale factor that must be applied to the distance between nodes.
*/
public static final double DEFAULT_SCALE_FACTOR = 1/50.;

Expand Down
8 changes: 4 additions & 4 deletions lib/jbotsim-ui-swing/src/main/java/io/jbotsim/ui/JViewer.java
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ protected static double computeSliderPosition(double maxValue, double value) {
* The {@link AccelerationFunctionExp} class implements the following function in
* [0:{@link #ZERO_AT}]:
* <ul>
* <li> {@value unShiftedValueAtZero} {@code * Math.exp(-x / }{@value decreaseSpeed}{@code ) - }{@value shift} </li>
* <li> {@value #unShiftedValueAtZero} {@code * Math.exp(-x / }{@value #decreaseSpeed}{@code ) - }{@value #shift} </li>
* </ul>
* Two methods are provided:
* <ul>
Expand All @@ -392,9 +392,9 @@ protected static double computeSliderPosition(double maxValue, double value) {
public static class AccelerationFunctionExp {

private static final double conversionFactor = 125;
private static final double unShiftedValueAtZero = 5;
private static final double decreaseSpeed = 15;
private static final double shift = 3;
protected static final double unShiftedValueAtZero = 5;
protected static final double decreaseSpeed = 15;
protected static final double shift = 3;

/**
* The exact value of the function at abscissa 0.
Expand Down

0 comments on commit 344fba0

Please sign in to comment.