Skip to content

Commit

Permalink
Update WPIMath JNI usage (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
calcmogul authored Jun 8, 2024
1 parent 270ddbd commit 0626766
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/edu/wpi/first/pathweaver/PathWeaver.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package edu.wpi.first.pathweaver;

import edu.wpi.first.math.WPIMathJNI;
import edu.wpi.first.math.jni.TrajectoryUtilJNI;
import edu.wpi.first.pathweaver.extensions.ExtensionManager;
import edu.wpi.first.util.CombinedRuntimeLoader;
import edu.wpi.first.util.WPIUtilJNI;
Expand All @@ -18,7 +18,7 @@ public class PathWeaver extends Application {
@Override
public void start(Stage primaryStage) throws IOException {
WPIUtilJNI.Helper.setExtractOnStaticLoad(false);
WPIMathJNI.Helper.setExtractOnStaticLoad(false);
TrajectoryUtilJNI.Helper.setExtractOnStaticLoad(false);
CombinedRuntimeLoader.loadLibraries(PathWeaver.class, "wpiutiljni",
"wpimathjni");

Expand Down

0 comments on commit 0626766

Please sign in to comment.