Skip to content

Commit

Permalink
suppress warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdsharpe committed Feb 28, 2024
1 parent 1cde7b0 commit eda7217
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion neuralfoil/gen2_architecture/_basic_data_type.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import warnings
import aerosandbox as asb
import aerosandbox.numpy as np
from dataclasses import dataclass, field
Expand Down Expand Up @@ -138,7 +139,9 @@ def from_xfoil(cls,
xfoil_command=xfoil_command,
include_bl_data=True,
)
xf_outputs = xf.alpha(alphas)
with warnings.catch_warnings():
warnings.filterwarnings("ignore", category=UserWarning)
xf_outputs = xf.alpha(alphas)

training_datas = []

Expand Down

0 comments on commit eda7217

Please sign in to comment.